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 is the life-cycle of servlets?

1182


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

1328


When servlet is loaded?

1119


How do you communicate in between Applets and Servlets?

1119


What is cgi?

1063


What are sessions in servlets?

1108


What is the process to implement doget and dopost methods?

1032


When a client request is sent to the servlet container, how does the container choose which servlet to invoke?

1077


Can filter be used as request or response?

1010


What is SingleThreadModel interface?

1203


Explain how does JSP handle run-time exceptions?

1156


What is the difference between the include() and forward() methods?

1120


Can you refresh servlet in client and server-side automatically?

1130


request parameter how to find whether a parameter exists in the request object?

1059


What is the servletconfig object?

1087