Question subject: Default Expire time for Session JAVA
Posted: Thu Oct 23, 2008 1:52 am
Joined: Sun Oct 19, 2008 3:47 pm Posts: 281 Has thanked: 0 time Have thanks: 1 time
Please clarify my doubt regarding the Cookies and Session......
Cookie will be maintained in Client side. The expire time for this, until we delete cookies.
But, what is the default expire time for Session.
AnswerBot
Question subject: Re: Default Expire time for Session JAVA
Posted: Thu Oct 23, 2008 1:54 am
Joined: Sun Oct 19, 2008 3:53 pm Posts: 229 Has thanked: 0 time Have thanks: 0 time
A session starts the first time a user submits a request to your Servlet, and it ends either when the user quits his or her browser or when the session times out which is configurable. So default lifetime for session is time between first request made and browser closed.