This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
The moose likes Servlets and the fly likes was there a different default Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Servlets
Bookmark "was there a different default "maxage" of the cookie before?" Watch "was there a different default "maxage" of the cookie before?" New topic
Author

was there a different default "maxage" of the cookie before?

Shrinath M Aithal
Ranch Hand

Joined: May 20, 2009
Posts: 82
Currently, the default age of the cookie is -1 which means it dies when browser is closed.
But long ago, may be 3 years back, someone had told me cookie's default age was 100 milliseconds or something similar, but not negative..

I just wanted ask the long term users here, was there a different default age for the cookie anytime before since the birth of servlets?
Can I find a document or anything from sun about it anywhere on net? I tried to google it, but wasn't fruitful..
Please help..


Regards
Shri..

SCJP 5.0
Mohammed Yousuff
Ranch Hand

Joined: Oct 17, 2007
Posts: 198
as far as i read from wiki, initially browsers are not controlling the cookies as they do now... but not sure about the initiall default expire time .....


My Thoughts : http://passion4java.blogspot.com
Try not to become a man of success but rather to become a man of value.
 
GeeCON Prague 2014
 
subject: was there a different default "maxage" of the cookie before?