tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Manea Mirko <m...@arena.sci.univr.it>
Subject Cookie problem
Date Mon, 22 May 2000 17:11:05 GMT
Hi !

does anybody know if there are any known issue in using
cookies and tomcat ? My application works fine on jserv 1.1,
but with tomcat it seems it does not append them to request.

Using: 

Cookie[] cookies = request.getCookies();
System.err.println(cookies.length);

always prints 0.

After creating the cookie I use a:

res.sendRedirect(res.encodeRedirectURL(my_url));

I am also using mod_rewrite to change hard coded url, so that they 
begin with application name.

Anyone know where I am doing mistakes ?

Thanks a lot for any help.

Mirko Manea

Mime
View raw message