Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

What is HTTP Session ?

Answer Posted / sandeep m

Http Protocol is stateless protocol. Hence server cannot
identify the request is from same client or different.
Hence server can treat every request as new request and may
ask for authentication for each request.
Hence for server to remember client and to respond in an
interactive way server needs to remember the client and its
activities. For which javax.servlet.http.HttpSession
interface is provided. Which helps in session tracking of
client requests.
HttpSession is one of the 4 ways of session tracking
mechanisms.

Is This Answer Correct ?    44 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What’s the difference between forward() and sendredirect() methods?

959


What is the difference between forward () and sendredirect () functions in servlet? Explain

983


What are the annotations used in servlet 3?

997


What is life cycle of Servlet?

1020


What is a cookie What is the difference between session and cookie

1015


Explain Action Servlet?

1030


When to use doget() and when dopost()?

1045


What are the steps that are involved in using the httpservlet class?

1066


Why the concept of single thread model interface is used?

926


What is http servlet?

1019


Which java framework is most popular?

1071


How to read request headers from servlets?

998


Should I override the service() method?

1043


How do I support both get and post from the same servlet?

1173


In the servlets, we are having a web page that is invoking servlets ,username and password? which is checks in database? Suppose the second page also if we want to verify

961