What is HTTP Session ?

Answers were Sorted based on User's Feedback



What is HTTP Session ?..

Answer / jayaprakash

HTTP Session mainly used for associated with HTTP Client and
HTTP sever.session will maintain the state with unque Id for
each client req.

Is This Answer Correct ?    58 Yes 6 No

What is HTTP Session ?..

Answer / 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

What is HTTP Session ?..

Answer / rajkanth

--HTTP stands for HyperText Transfer Protocol--
--Session means a period of time--
HTTP Session is mainly used for clients, to trace their
requests towards server. For each client, a unique session
will be maintain until the server gets shutdown. Each client
have separate session ID

Is This Answer Correct ?    15 Yes 4 No

What is HTTP Session ?..

Answer / ramesh

HTTP Session is mainly used for clients, to trace their
requests towards server. For each client, a unique session
will be maintain until the server gets shutdown. Each client
have separate session ID

Is This Answer Correct ?    11 Yes 3 No

What is HTTP Session ?..

Answer / p.venkatesh

HttpSession present in package "javax.servlet.http".It is
mainly used for client request it will process and it will
throgh response to client.It also maintain only client
session.

Is This Answer Correct ?    5 Yes 2 No

What is HTTP Session ?..

Answer / sk

Http Session is an object for one Client it creates one
object ........Http Session is good for using one
application .........ServletContext is good for using one
client...ServletConfig is good for using one servlet

Is This Answer Correct ?    18 Yes 22 No

Post New Answer

More Servlets Interview Questions

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

0 Answers  


What is the use of send redirect () method?

0 Answers  


How a servlet is unloaded?

0 Answers  


Why session tracking is needed?

0 Answers  


What is meant by session? Tell me something about httpsession class?

0 Answers  






Differentiate between the get and post method

0 Answers  


1.HttpSession 2.Hidden fields 3.URL Rewriting these primitive type of Session maintainance. What is the other type of process that could help to maintain the Session? pls Explain the process if u know?

5 Answers   OnMobile,


What is meant by servlet? What are the parameters of the service method?

0 Answers  


What is http servlet?

0 Answers  


What is the difference between Servlet Request and Servlet Context when calling a Request Dispatcher?

0 Answers  


What is the purpose of inter-servlet communication?

0 Answers  


Can we override servlet service method?

0 Answers  


Categories