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. -- Aurélien --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]