grrr.. I'm sorry guys this has been very frustrating for me :(

Thank you both for answering :)



JD Daniels wrote:
cocoon.request.getCookieMap()['mycookie'];
cocoon.request.getCookieMap();

Both end up undefined - yet the cookie does exist.

I am also using the cookie to choose which xsl to use in my sitemap:

<map:transform src="context://xsl/document2{request:cookieMap/mycookie/value}html.xsl">

{request:cookieMap/mycookie/value} being the important part there - it works 100% - I'm sure i should be able to do the same in flow.

Mark Lundquist wrote:


On Aug 30, 2005, at 3:17 PM, JD Daniels wrote:

Well, I have not ever looked at input modules to this point. I suppose I could look into them and see, but it seems to me that getting a cookie by its name should be a one line trivial thing.



Hi JD,

I think you should be able to write

    var foobar = cocoon.request.getCookieMap()['foobar'];

Give that a shot...
—ml—



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





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




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

Reply via email to