Hector Fabio Meza Martinez wrote:
> The problem is that getCookies is returning null, but the
> cookies.txt file has text, so there should be cookies.

cookies.txt holds cookies for *all* sites.  Your site will only see
cookies set by it.  You can tell in cookies.txt which site each cookie
is associated with.  My guess is you won't see any for your site.

Use res.addCookie() to make some.

-jh-

--
Jason Hunter
[EMAIL PROTECTED]
Book:    http://www.servlets.com/book
Article: http://www.javaworld.com/jw-12-1998/jw-12-servletapi.html

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to