Dear all, When the user close the browser, is the session terminate immediately or it will timeout after a specific period of time? Thank you for your kind attention. Yours faithfully, Benny
Hi, Sessions would be terminated the moment we close the broswer Yes I know this .. But how abt some thing called Server side cookies and When we keep time out for server side cookies would they be active even If I close by browser window ?. Lil more knowledge on server side cookies would help mr frnds ...
Clarification - 1. The browser destroys the cookie that contains the sessionID when it is shut down because that terminates a session. 2. The servlet engine DOES NOT destroy the HttpSession object immediately because it does NOT know that the browser can't use it anymore. Instead, the session will be disposed after a period of inactivity - typically 30 minutes. 3. "Server side cookies" ?? is a meaningless term - unless you are talking about the Cookie object used to represent a cookie as sent by a browser in a request or set by the servlet in a response. Bill