File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSP and the fly likes Session id Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "Session id" Watch "Session id" New topic
Author

Session id

Amarjyoti Das
Greenhorn

Joined: Mar 18, 2002
Posts: 16
Hi,
Where does session information get stored? For example, please consider the following statement in a JSP page.
<%= session.getId() %>
Where the ID, max inactive interval or other session related information are stored? Is it on a client side cookie?
Thank you,
Amar Das
David O'Meara
Rancher

Joined: Mar 06, 2001
Posts: 13459

The specific details for the sesison are are stored on the server. The client sends the sessionID with every query and the server uses this to associate the session with that person.
That said, the session is stored as a Cookie, and there is other information that can be stored with Cookies such as timeouts etc.
Dave
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Session id
 
Similar Threads
Regarding conversational web services
Servlet Session API
url rewriting doubt
Is session shared across JSPs in separate web applications?
Cookies