cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kevin Sonney <ke...@webslingerz.com>
Subject More cookies
Date Thu, 27 Jul 2000 15:48:43 GMT
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. Hmm. So I do the
following :

<response:add-cookie>
	<cookie:create name="cookie">
		<value>Test Value</value>
		<cookie:set-comment>
			<purpose>Test Cookie</purpose>
		</cookie:set-comment>
		<cookie:set-max-age expiry="6000" />
		<cookie:set-domain pattern=".my.domain"/>
		<cookie:set-path path="/~kevin/" />
		<cookie:set-secure flag="true" />
		<cookie:set-version value="1.0" />
	</cookie:create>
</response:add-cookie>

But nothing happens to change. I've flushed my XSP repository, and every
time, all that gets added is the call to create the cookie. 

Anyone have nay new hints?

-- 
- Kevin Sonney
  kevin@webslingerZ.com


Mime
View raw message