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.
If I don't figure it out, I guess I might have to use input modules :P
JD
Aurélien DEHAY wrote:
Hello.
JD Daniels a écrit :
it seems i can access a cookie in flow with
cocoon.request.getCookies()[1].value
however, not all pages i have need a user logged in, which creates its
own jsessionid cookie.
so sometimes i need cocoon.request.getCookies()[0].value and other times
i need cocoon.request.getCookies()[1].value....
Why don't you pass the cookie as a parameter of the function with input
modules? Then you can access the cookie via cocoon.parameters["name"] in
flowscript.
How can i access a cookie by its name? I have googled my head off, and
every suggestion throws either undefined or no such method variable.
I am using 2.1.7
Regards.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]