BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 11-23-2009, 07:52 AM   #1 (permalink)
Knows Where the Search Button Is
 
Join Date: Nov 2009
Model: 8300
PIN: N/A
Carrier: developer
Posts: 37
Post Thanks: 0
Thanked 0 Times in 0 Posts
Post How to delete persistent object cookies.

Please Login to Remove!

Hi,
I used Persistent store object key in my code for "Remember My Device".... By resetting MDS and simulator, i am able to clear all these cookies in Simulator.... How do i delete these cookies in original device?
Offline  
Old 11-23-2009, 10:20 AM   #2 (permalink)
BlackBerry Extraordinaire
 
Join Date: Jan 2006
Model: LEZ10
OS: 10.0.10
Carrier: Rogers CA
Posts: 1,704
Post Thanks: 20
Thanked 77 Times in 68 Posts
Default

This article talks about how data is handled when applications are removed. If you want to remove the data without removing the application you may use PersistentStore.removePersistentObject(key).
__________________
My other Blackberry is a PlayBook.
Offline  
Old 11-24-2009, 12:52 AM   #3 (permalink)
Knows Where the Search Button Is
 
Join Date: Nov 2009
Model: 8300
PIN: N/A
Carrier: developer
Posts: 37
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

u mean for deleting Persisitent object cookiees we have to handle it in coding side right?
but in simulator just resetting, deletes all cookies.
Offline  
Old 11-24-2009, 08:33 AM   #4 (permalink)
BlackBerry Extraordinaire
 
Join Date: Jan 2006
Model: LEZ10
OS: 10.0.10
Carrier: Rogers CA
Posts: 1,704
Post Thanks: 20
Thanked 77 Times in 68 Posts
Default

I don't know why you keep calling them cookies, nor I am I sure what you mean by resetting the simulator, but no. When you remove the program that created the PersistentStore, the PersistentStore is removed as well.
__________________
My other Blackberry is a PlayBook.
Offline  
Closed Thread


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On





Copyright 2004-2014 BlackBerryForums.com.
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.