Yes, we actually really love this solution, and it works in almost all
JSP/Servlet containers with the exception of BroadVision, which I am forced
to use in this very unfortunate scenario.  BroadVision doesn't always put a
cookie in the response when you use HttpServletResponse.addCookie(), but it
does seem to honor HttpServletResponse.addHeader().

So we find ourselves forcing the placement of cookies and in need of a way
to set the expiration.

> -----Original Message-----
> From: Christopher K. St. John [mailto:[EMAIL PROTECTED]]
> Sent: Monday, January 21, 2002 2:58 PM
> To: [EMAIL PROTECTED]
> Subject: Re: Setting Cookies in the response object
>
>
> Jay Wright wrote:
> >
> > I am trying to set a cookie in the response object, with the code:
> >
> > response.addHeader("Set-Cookie", "this=that");
> >
>
>  HttpServletResponse.addCookie()
>
>
> --
> Christopher St. John [EMAIL PROTECTED]
> DistribuTopia http://www.distributopia.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