Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Where is my cookie ???

 
Frank Jacobsen
Ranch Hand
Posts: 358
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Im playing a littel bit with cookies, this methoed, works in my browser, but where is my cookie, i thought, that when i closed down my browser, i could find a cookie with the name *CUSTOMER*.* somewhere on my pc !



Frank
 
Ernest Friedman-Hill
author and iconoclast
Marshal
Pie
Posts: 24208
35
Chrome Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
By default, cookies created with the Cookie class will be session cookies; they last only as long as the current session, and aren't saved to disk. Look at the setMaxAge() method of the Cookie class to see how to make them last longer.
 
Fahd Shariff
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
By default cookies don't persist past current browsing session.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic