-----------------------------
Please read the FAQ!
<http://java.apache.org/faq/>
-----------------------------

"Because cookies are set using HTTP headers, addCookie() must be called
before any output is sent to the client"
    Page 448
    Java Servlet Programming
    Jason Hunter

----- Original Message -----
From: Francois <[EMAIL PROTECTED]>
To: Java Apache Users <[EMAIL PROTECTED]>
Sent: Thursday, September 09, 1999 3:18 AM
Subject: Cookies

Also I assume it is just an extremely funny typo, but the correct call is
addCookie()
    not
assCookie()

Noah Nordrum
    Carpe Diem.
    A fish a day keeps the doctor away.

> -----------------------------
> Please read the FAQ!
> <http://java.apache.org/faq/>
> -----------------------------
>
>
>
> Hello
> -----
>
> How can I remove a Cookie with JSDK APIs?
>
> I tried
>
>             myCookie.setMaxAge(0);
>
> and
>
>             myCookie.setMaxAge(0);
>     response.assCookie(myCookie);
>
>
>         but it doesn't work.
>
>
>
> François.
>
>
>
>
>
>
>
> --
> [EMAIL PROTECTED]
>    BULL-CITB            tel:(+33) 556 437 848   Home: [EMAIL PROTECTED]
> 207, cours du Médoc     fax:(+33) 556 437 978   http://www.citb.bull.net
>  33000 Bordeaux         BullCom: 227 7848       ICQ :3886291
> --------------------------------------------------------------------
Linux -----
>
>
> --
> --------------------------------------------------------------
> Please read the FAQ! <http://java.apache.org/faq/>
> To subscribe:        [EMAIL PROTECTED]
> To unsubscribe:      [EMAIL PROTECTED]
> Archives and Other:  <http://java.apache.org/main/mail.html>
> Problems?:           [EMAIL PROTECTED]




--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://java.apache.org/main/mail.html>
Problems?:           [EMAIL PROTECTED]

Reply via email to