[opencms-dev] writing cookies in ocms 6 alpha

Alexander Kandzior alex at opencms.org
Wed Jan 12 09:27:37 CET 2005


It currently wont't work. 

There's a bugzilla entry for this, AFAIK the issue is regarding multiple
http headers with the same name. If you want to explore the issue, start in
class org.opencms.jsp.CmsFlexResponseWrapper, and look for the header
handling functions there.

Best Regards,
Alex.

Alexander Kandzior
Alkacon Software - The OpenCms Experts
http://www.alkacon.com

 

> -----Original Message-----
> From: opencms-dev-bounces at opencms.org 
> [mailto:opencms-dev-bounces at opencms.org] On Behalf Of Hans vd Linden
> Sent: Tuesday, January 11, 2005 10:37 PM
> To: 'The OpenCms mailing list'
> Subject: [opencms-dev] writing cookies in ocms 6 alpha
> 
> Hi,
> 
> Has anyone already tried to write a cookie from a jsp file 
> within cms ?
> 
> I simple :
> 
>   Cookie mycookie = new Cookie("cookiename","value");
>   response.addCookie(mycookie);
> 
> won't do....
> 
> Searched the newsgroup but only found threads related to ocms 5
> 
> Thanx
> 
> Hans
> 
> 
> 
> 
> 
> _______________________________________________
> This mail is send to you from the opencms-dev mailing list To 
> change your list options, or to unsubscribe from the list, 
> please visit http://mail.opencms.org/mailman/listinfo/opencms-dev
> 
> 




More information about the opencms-dev mailing list