Setting cookies does not work in an ajax response
I have an SHtml.ajaxSelect that, when executed sets a cookie:
S.addCookie(HTTPCookie("CITYID", city.id.toString))
and then returns a JsCmds.RedirectTo(uri) command. The cookie isn't
actually being set (if I look at the live http headers the Set-Cookie
line isn't sent down in the http response to the ajax call).
http://groups.google.com/group/liftweb/browse_thread/thread/a9a7de2cb1f05544/
S.addCookie(HTTPCookie("CITYID", city.id.toString))
and then returns a JsCmds.RedirectTo(uri) command. The cookie isn't
actually being set (if I look at the live http headers the Set-Cookie
line isn't sent down in the http response to the ajax call).
http://groups.google.com/group/liftweb/browse_thread/thread/a9a7de2cb1f05544/
Leave a comment
on 2010-02-07 00:48 *
By github.importer
Imported from GitHub: http://github.com/dpp/liftweb/issues/60/find