This week's book giveaway is in the Testing forum. We're giving away four copies of The Way of the Web Tester: A Beginner's Guide to Automating Tests and have Jonathan Rasmusson on-line! See this thread for details.
When I provide 3600 as a parameter to setMaxAge for Cookies I means I am setting the Cookie age to one hour. How is one hour calculated at the server ? Is it one hour from the actual creation of the cookie. Is there a difference between the Cookie life-time and the actual one hour ?
posted 15 years ago
It is one hour from the last accessed time stored in the session. It is updated everytime you access the session.