You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Kimberly Begley <ki...@gmail.com> on 2008/05/24 03:43:32 UTC

session info

Hello - I'm using tomcat 5 and was wondering how session info is stored - is
it stored server side in memory? Can anyone point me to some documentation
about this?
Thanks,
Kimberly

Re: session info

Posted by Louis <la...@gmail.com>.
Kimberly Begley wrote:
> Hello - I'm using tomcat 5 and was wondering how session info is stored - is
> it stored server side in memory? Can anyone point me to some documentation
> about this?
> Thanks,
> Kimberly
>   
A j2ee container normally stores all session information server side.

Depending on your connection type (stateless/http or statefull/https) 
the container will send a cookie to the client's webbrowser to keep the 
user's requests aligned with the session. The cookie won't contain any 
user information, just a unique id binding their browser instance to 
their current session.

You can send specific information back to the client in a cookie as 
well, but that would be an explicit operation of creating a cookie.

http://www.google.com/search?hl=&search=&q=tomcat+session+data&sa=Search

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: session info

Posted by David Smith <dn...@cornell.edu>.
It's stored server side.  The only thing on the client is the session 
identifier (jsessionid) used to map requests to their proper sessions.  
Regarding documentation to that effect, the best resource is the servlet 
spec which defines most of the behavior of the container.

http://jcp.org/aboutJava/communityprocess/final/jsr154/index.html

--David

Kimberly Begley wrote:
> Hello - I'm using tomcat 5 and was wondering how session info is stored - is
> it stored server side in memory? Can anyone point me to some documentation
> about this?
> Thanks,
> Kimberly
>
>   


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org