Nope. It still doesn't send me a cookie.... Bottom line, it correctly tranlates into 
helper method:

        XSPCookieHelper.addCookie(objectModel, name, rlocale, "",
                                  domain, 10 * 365 * 24 * 60 * 60, "", "" , 0);

but it does not sends a cookie!... Maybe on some other Cocoon level cookie get losts?

Alex.


----- Original Message ----- 
From: "Vadim Gritsenko" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, April 10, 2002 2:58 PM
Subject: RE: Cookie question


> > From: Alexander Smirnoff [mailto:[EMAIL PROTECTED]]
> > 
> > Hi,
> > 
> > My browser does not recieve cookie... Here is XSP piece:
> > ....
> >                 <xsp-cookie:create-cookies>
> >                     <xsp-cookie:cookie name="locale">
> >                         <xsp-cookie:value>rlocale</xsp-cookie:value>
> >                     </xsp-cookie:cookie>
> >                 </xsp-cookie:create-cookies>
> > ....
> > Did I forgot something?
> 
> This (AFAIK) works:
> 
>     <xsp-cookie:cookie>
>       <xsp-cookie:name>testname1</xsp-cookie:name>
>       <xsp-cookie:value>testvalue1</xsp-cookie:value>
>  
> <xsp-cookie:setMaxAge><xsp:expr>10*365*24*60*60</xsp:expr></xsp-cookie:s
> etMaxAge>
>     </xsp-cookie:cookie>
> 
> (see cookie.xsp)
> 
> Vadim
> 
> > 
> > Thanks,
> > Alex.
> > 
> > 
> 
> 
> ---------------------------------------------------------------------
> Please check that your question has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
> 
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail: <[EMAIL PROTECTED]>
> 
> 



---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>

Reply via email to