You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Jose Euclides da Silva Junior - DATAPREVRJ <Jo...@rj.previdenciasocial.gov.br> on 2003/08/04 19:44:09 UTC

RES: RES: Cookie problem max age problem - Best practice to solve it

thanks, Steve.

-----Mensagem original-----
De: srevilak@g88.net [mailto:srevilak@g88.net]
Enviada em: segunda-feira, 4 de agosto de 2003 11:52
Para: 'Tomcat Users List'
Assunto: Re: RES: Cookie problem max age problem - Best practice to
solve it


> one information isnt right! First, using Sniffer to monitor all http
> traffic, i found out one important news: the authentication app's plugin
> works with Session object instead of Cookie object. What kind of
information
> would you like to receive about it? Does Session object work different
> between OC4J and TomCat?

Then you're in trouble.  Session objects live within the memory of the
JVM process where the servlet container is running.  You aren't going
to be able to share them between two different processes.

Even within a single container, there are still limitations on sharing
Session data; you can't share from one context to another.  (See 7.3
"Session Scope" in the servlet specification).

-- 
Steve

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org