On 03/07/2012 08:19 AM, GJ wrote:
How do I simply set a cookie?  I'm talking about plain old cookies, not fancy
session stuff.  Right now, I'm doing:

     push_header( "Set-Cookie" =>  "baz=qux");

inside a route and it's not working.  Also, I'd like to set multiple key=value
pairs. I want to set the cookies and redirect.


Please check cookie and cookies keywords in Dancer documentation.

Regards
        Racke



--
LinuXia Systems => http://www.linuxia.de/
Expert Interchange Consulting and System Administration
ICDEVGROUP => http://www.icdevgroup.org/
Interchange Development Team

_______________________________________________
Dancer-users mailing list
[email protected]
http://www.backup-manager.org/cgi-bin/listinfo/dancer-users

Reply via email to