cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Donald Ball <ba...@webslingerZ.com>
Subject Re: More cookies
Date Thu, 27 Jul 2000 17:56:50 GMT
On Thu, 27 Jul 2000, Kevin Sonney wrote:

> I have cocoon setting cookies! Great joy! Here's the cookie recipie :
> 
> To set a basic cookie, put the following in your xsp document :
> 
> <response:add-cookie>
> 	<cookie:create name="cookie">
> 		<value>Test Value</value>
> 		<cookie:set-comment>
> 			<purpose>Test Cookie</purpose>
> 		</cookie:set-comment>
> 	</cookie:create>
> </response:add-cookie>
> 
> Which is great! But it Never gets cached to the browser.

does it work if you simply do this:

<xsp:logic>
 response.addCookie(new Cookie("cookie","Test Value"));
</xsp:logic>

?

what the relevant snippet of code from your generated XSP page look
like?

- donald


Mime
View raw message