Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: Multiple cookies in Catalyst, one longlasting and one session cookie

by martell (Hermit)
on Aug 27, 2020 at 19:33 UTC ( [id://11121133]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $c->response->cookies->{'cookie_consent'} = {     
                'name'    =>  'cookie_consent',
    ...
                'secure'   =>  0,
                'samesite' =>  'Lax',
       };
    
  2. or download this
    my $consent_cookie = $c->request->cookies->{'cookie_consent'};
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11121133]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (4)
As of 2024-05-27 21:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found