Sun's done a pretty good job of javadocing the spec.

Check it out...
http://java.sun.com/products/servlet/2.2/javadoc/javax/servlet/http/Cookie.h
tml#setMaxAge(int)

----- Original Message -----
From: "kavitha ramasamy" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, December 09, 1999 9:23 AM
Subject: Cookies- max age


> Hi,
>
>   In setting maximum age to cookie, I need to know the following things.
>
> 1) if cookie age is positive, then it is alive till that time
>
> 2) if a cookie age is negative, it is alive till the browser exits.
> I opened one window , I set  the age to negative.
> When I am opening one more window in the same browser, if i try to list
the
> active cookies, I am not getting the cookie which I set that value to
> negative(previous window is still ,there cookie age-negative).
>
>
> I need to know if I set negative value to age, can I get that cookie value
> in the next window of the same browser if the previous window  is not
> closed.
> why I am not getting the cookie which is alive?.
>
> Please help me to clear this.
> Thanks,
> kavitha.
>
> ______________________________________________________
> Get Your Private, Free Email at http://www.hotmail.com
>
>
___________________________________________________________________________
> 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
>

___________________________________________________________________________
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