You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Joe Latty <jo...@tias.com.au> on 2004/01/15 04:17:19 UTC
Persisting Cookies in Flow
I am trying to set up cookies in Flow, if a user has a valid username and password and checks a "remember me" box I create cookies
var cookie = cocoon.response.createCookie("username", username);
cocoon.response.addCookie(cookie);
I am then able to get hold of the cookies using cocoon.request.getCookies()
however...
Once the user closes the browser window cocoon.request.getCookies() is empty.
How can I persist these cookies?
Joe