Cristopher:
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.
thanks,
>From: Christopher Schultz <chris@(protected)>
>Reply-To: "Tomcat Users List" <users@(protected)>
>To: Tomcat Users List <users@(protected)>
>Subject: Re: Setting session variables
>Date: Wed, 20 Dec 2006 12:31:37 -0500
>
>-----BEGIN PGP SIGNED MESSAGE-----
>Hash: SHA1
>
>Andres,
>
>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
>
>-----BEGIN PGP SIGNATURE-----
>Version: GnuPG v1.4.6 (MingW32)
>Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
>iD8DBQFFiXN59CaO5/Lv0PARApp6AKC2B4BGE6mN+GNRCSzu59uiI/hNMQCgjKRq
>I1rdqFIyOvBPadNhkSgzM5s=
>=hi7w
>-----END PGP SIGNATURE-----
>
>---------------------------------------------------------------------
>To start a new topic, e-mail: users@(protected)
>To unsubscribe, e-mail: users-unsubscribe@(protected)
>For additional commands, e-mail: users-help@(protected)
>
_________________________________________________________________
Moda para esta temporada. Ponte al d?a de todas las tendencias.
http://www.msn.es/Mujer/moda/default.asp
---------------------------------------------------------------------
To start a new topic, e-mail: users@(protected)
To unsubscribe, e-mail: users-unsubscribe@(protected)
For additional commands, e-mail: users-help@(protected)