Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Session id

 
Amarjyoti Das
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic