GeeCON Prague 2014*
The moose likes Servlets and the fly likes cookie are the cashed in the browser ??? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Servlets
Bookmark "cookie are the cashed in the browser ???" Watch "cookie are the cashed in the browser ???" New topic
Author

cookie are the cashed in the browser ???

Frank Jacobsen
Ranch Hand

Joined: May 17, 2002
Posts: 353
Is the cookie saved in some kind off cash in the browser, i have a list off customer numbers in a cookie, and if i find the cookie on my harddisk, and i remove one off the entries in my cookie, i close down my browser, ups, the customer numbers is in the cookie again.....

Can anyone explain this ???

Frank
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42035
    
  64
Yes, they're also saved in memory. If you close the browser first, and then delete the file, it should be gone for good. Or flush the in-memory cache while the browser is running.


Ping & DNS - my free Android networking tools app
Frank Jacobsen
Ranch Hand

Joined: May 17, 2002
Posts: 353
Thanks for helping out !
Frank Jacobsen
Ranch Hand

Joined: May 17, 2002
Posts: 353
I using IE 6.0, and when i update my cookie manually, and try to read it again with a servlet, my cookie is empty, the cookie is simply deleted on my disk, the browser must in a way can see that i have changed the cookie manually, and therefore delete the cookie...

Can anyone confirm this ???

Frank


 
GeeCON Prague 2014
 
subject: cookie are the cashed in the browser ???