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

Reply via email to