Latest Tutorials| Questions and Answers|Ask Questions?|Site Map



Home Help Java H Java httpsession

Related Tutorials


 
 

Share on Google+Share on Google+

Java httpsession

Advertisement
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

 

Advertisements

If you enjoyed this post then why not add us on Google+? Add us to your Circles



Liked it!  Share this Tutorial


Follow us on Twitter, or add us on Facebook or Google Plus to keep you updated with the recent trends of Java and other open source platforms.

Posted on: November 11, 2009

Related Tutorials

Discuss: Java httpsession  

Post your Comment


Your Name (*) :
Your Email :
Subject (*):
Your Comment (*):
  Reload Image
 
 
Comments:2
ram
June 12, 2012
java

import java.util.*; why should not put any symbol.we put * symbol only.why
babukabu
June 25, 2012
explain in more simple way

Please explain the httpsession in more simple way as i am new in advance java could not getting things here....!
DMCA.com