Home Help Java H Java httpsession



Java httpsession
Posted on: November 11, 2009 at 12:00 AM
HttpSession interface is defined in "javax.servlet.http" package and is used for the purpose of session tracking while working with servlets

Java httpsession

     

HttpSession interface is defined in "javax.servlet.http" package and is used for the purpose of session tracking while working with servlets. Session tracking is a mechanism that is used to maintain state about a series of requests from the same user (that is, requests originating from the same browser) across some period of time. The session object can be found using getSession() method of the servlet request object. With the help of this interface the servlet can view and manipulate information about a session, for example, session id, creation time, last accessed time and can bind the objects containing user information to the session. Storing all these information to the session persists across series of requests from the same user.


Read more at:

http:/www.roseindia.net/servlets/SessionId.shtml

http:/www.roseindia.net/servlets/CheckingTheSession.shtml

http:/www.roseindia.net/servlets/PreExistingSession.shtml

 

Related Tags for Java httpsession:


More Tutorials from this section

Ask Questions?    Discuss: Java httpsession  

Post your Comment


Your Name (*) :
Your Email :
Subject (*):
Your Comment (*):
  Reload Image
 
 

Ask Questions?

If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.

Ask your questions, our development team will try to give answers to your questions.