cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joe Latty" <joe.la...@tias.com.au>
Subject Persisting Cookies in Flow
Date Thu, 15 Jan 2004 03:17:19 GMT
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
Mime
View raw message