7 Mar
2012
7 Mar
'12
3:13 p.m.
On Wed, Mar 07, 2012 at 08:32:48AM +0100, Stefan Hornburg (Racke) wrote:
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
Sorry, I wasn't being clear at all. I know about the (multiple ways of) creating a cookie. I want to know how people are _sending_ _multiple_ cookies back with the response header. Thanks, GJ