Hi,
I'm trying to send a cookie in a response using xsp but it's not working for
me. I've tried using within xsp:logic
org.apache.cocoon.environment.http.HttpCookie c = new
org.apache.cocoon.environment.http.HttpCookie("thisuser", user);
response.addCookie(c);
and also tried
<xsp-response:add-cookie><xsp:expr>c</xsp:expr></xsp-response:add-cookie>
and have added lines in the xsp:page
xmlns:xsp-cookie="http://apache.org/xsp/cookie/2.0"
xmlns:xsp-response="http://apache.org/xsp/response/2.0"
However when I look at the contents of the response I don't see the cookie
appearing when using <xsp-cookie:getCookies as="xml">
Could someone direct me to a solution please,
Thanks in advance
Frank
--
View this message in context:
http://www.nabble.com/xsp-add-cookie-to-response-tp25818271p25818271.html
Sent from the Cocoon - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]