tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bruno Cardoso" <>
Subject RES: Persistent Cookies
Date Mon, 04 Mar 2002 12:20:27 GMT
I did what you said, and it still doesnt work.. I don't think it's about
setting a domain, because setDomain() method is just to tell the cookie
to which sites he will return, but my cookie is not even being

-----Mensagem original-----
De: Filip Hanik [] 
Enviada em: terça-feira, 4 de Março de 2003 2:13
Para: Tomcat Users List
Assunto: RE: Persistent Cookies

you have to set the cookie domain, so that the domain matches the URL
your outside users access it with


-----Original Message-----
From: Bruno Cardoso []
Sent: Sunday, March 03, 2002 6:07 PM
Subject: Persistent Cookies

I made a simple login/logout system with persistent cookies, the problem
is that it only works with me (localhost), every time someone try to
access my website and login, the cookie is not created for them. I have
made a test with an example I saw in the book "Core Servlets and JSP"
with persistent and session cookies, and it also works for me, but for
outsiders it will only work for the session cookies. My question is how
can i make tomcat to allow everyone to create persistant cookies that
are saved in their discs? Thank you guys

To unsubscribe, e-mail:
For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message