• Post Reply Bookmark Topic Watch Topic
  • New Topic

Cookies  RSS feed

 
Jean-Baptiste David
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi !
I'm a French programmer, so my english level will not be good... but i'll try to be as clear as possible. I've got a problem using cookies with JSP...
Here is the way i use to add a cookie :
cookie = new Cookie("login", str_login);
cookie.setPath("/");
cookie.setMaxAge(3600);
response.addCookie(cookie);
With Internet Explorer, it works very well, but with Netscape, it only works til i close the browser...
Has anyone an answer to my problem ?
Thanks
JB.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!