ravi wrote:

> Hello everybody
> I have written cookies but i am not able to place the cookies in the cookies
> folder(where the cookies are stored actually)on the client machine
> help
> thanks in advance
> ravi
>

What properties did you set in your cookie?

By default, cookies will expire when the browser is exited.  If you send a
cookie like this, it will generally not get written to the cookie folder on the
client machine -- it is buffered in the memory space of the browser.

On the other hand, if you set the maximum age of a cookie to some date/time in
the future (with the setMaxAge() method), the browser may write it to the
folder -- but if it does so, and when, is up to the browser developer.  There
are no standards requirements for how client programs store long-lived cookies.

The only sure way to know if the client got your cookie is if it gets returned
with the next request.

Craig McClanahan

___________________________________________________________________________
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