This week's book giveaway is in the Cloud/Virtualizaton forum.
We're giving away four copies of Mesos in Action and have Roger Ignazio on-line!
See this thread for details.
Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Cookie

 
mini mehta
Ranch Hand
Posts: 120
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I know that Cookie in the servlet can only be set for some finite seconds , but what do u do if the application requires the cookie to be store in the machine for infinte time?
 
Tony Alicea
Desperado
Sheriff
Posts: 3226
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Let's see... The static final Integer.MAX_VALUE is 2147483647.
That many seconds = approx 68 years... Is that good enough for you?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic