[Dancer-users] Session lookup and takeover

Stefan Hornburg (Racke) racke at linuxia.de
Thu Jul 26 12:22:59 CEST 2012


On 07/03/2012 09:10 AM, sawyer x wrote:
> Saving using "session id =>  { %data }" isn't what you're looking for?
>
> I'm not sure I understand what you're trying to do...
>

Actually it is very simple to achieve, just do:

     # fake cookie
     my $session_name = config->{session_name} || 'dancer.session';

     cookie $session_name => $session_id;

Regards
          Racke

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



More information about the Dancer-users mailing list