Interview Questions  

Go Back   Interview Questions > Interview Questions & Answers > Information Technology > Java > Servlets

Servlets Servlets Interview Questions, Learn by sharing Servlets Interview Questions asked in various companies, Get Career advices, Interview Procedures from Servlets experts, Post asked Servlets Interview Questions and Answers.

   

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 03-28-2008, 05:27 PM
Senior Member
 
Join Date: Mar 2008
Posts: 4,634
Default What is meant by Session

What is meant by Session ? Tell me something about HTTPSession Class ?
Reply With Quote
  #2 (permalink)  
Old 07-10-2008, 02:37 PM
Junior Member
 
Join Date: Jul 2008
Posts: 2
Default Session

A session refers to all the connections that a single client might make to a server in the course of viewing any pages associated with a given application. Sessions are specific to both the individual user and the application. As a result, every user of an application has a separate session and has access to a separate set of session variables.
Reply With Quote
  #3 (permalink)  
Old 07-10-2008, 02:58 PM
Junior Member
 
Join Date: Jul 2008
Posts: 2
Default

HttpSession Class provides a way to identify a user across across multiple request. The servlet container uses HttpSession interface to create a session between an HTTP client and an HTTP server. The session lives only for a specified time period, across more than one connection or page request from the user.
Reply With Quote
Reply

Tags
interview questinons, servlets

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On