tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andres Cubides P." <>
Subject Re: Setting session variables
Date Wed, 20 Dec 2006 20:38:59 GMT


Thanks for the Firefox/cookies hint, it was very helpful to figure out the 
problem. It was related with Internet Explorer. I was using IE, so I decided 
to try Firefox to test the cookies configuration. In Firefox the app worked 
perfectly. Searching again in the tomcat list archives I found that a 
"patch" provided by Microsoft for IE 5.5 and 6.0 causes cookies to be 
rejected from servers with non-alphanumeric characters, such as "_". The 
server name with the problem has an "_", when I used the IP instead of the 
name the session problems were resolved.


>From: Christopher Schultz <>
>Reply-To: "Tomcat Users List" <>
>To: Tomcat Users List <>
>Subject: Re: Setting session variables
>Date: Wed, 20 Dec 2006 12:31:37 -0500
>Hash: SHA1
>Andres Cubides P. wrote:
> > No errors appear in tomcat/stderr logs. I have a simple test servlet to
> > show session id/variables, each time I call the servlet in the same
> > browser session a different ID is returned:
> >
> > ID 9180ECEA4F3CBBECC2FA86EA592D2C4E Created: Wed Dec 20 12:13:46 COT
> > 2006 Last Accessed: Wed Dec 20 12:13:46 COT 2006
> >
> > ID 346AEE8B40C7DB83B330ED1DFC08928B Created: Wed Dec 20 12:13:59 COT
> > 2006 Last Accessed: Wed Dec 20 12:13:59 COT 2006
>Ar you using the same browser to connect to both of your apps (the
>working one, and the non-working one)?
>If you are using Mozilla Firefox, is it possible that you have banned
>one of the servers from setting cookies? I just had that problem this
>morning on one of my test servers, actually. I nearly lost my mind
>trying to figure out what was going on.
>Also, if you are using ff, try the LiveHttpHeaders extension so you can
>watch the HTTP headers going between the server and the browser. You
>might be able to see if your browser is either ignoring the cookie or
>(for some bizarre reason), sending the wrong one.
>- -chris
>Version: GnuPG v1.4.6 (MingW32)
>Comment: Using GnuPG with Mozilla -
>To start a new topic, e-mail:
>To unsubscribe, e-mail:
>For additional commands, e-mail:

Moda para esta temporada. Ponte al día de todas las tendencias.

To start a new topic, e-mail:
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message