This week's book giveaway is in the Agile and other Processes forum. We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line! See this thread for details.
what is the max age for JSESSIONID cookie. can we change it?
Lokendra Shekhawat
Ranch Hand
Joined: Jun 08, 2009
Posts: 40
posted
0
Hi friends,
i wanted to ask one question:
What is the default max age for JSESSIONID cookie which is created when we use session. can we modify it.
if yes then how and where is correct place to modify it.
For example, see this thread. Searching the web for something like "java +configure session timeout" or similar will return a lot of hits.
Lokendra Shekhawat
Ranch Hand
Joined: Jun 08, 2009
Posts: 40
posted
0
i want to prevent the cookie to be invalidated when user closes the browser. i want to set the JSESSIONID cookie to stay alive for say, 20 minutes, whether browser is running or closed. so when user closes the browser and reopen the browser and access the same site he can still use the same JSESSIONID to access the site.