[Dancer-users] How do I get the unique session id for a session?

Alexis Sukrieh sukria at sukria.net
Sat May 28 11:27:07 CEST 2011


On 27/05/2011 23:56, David Precious wrote:
> On Friday 27 May 2011 19:55:39 Gurunandan Bhat wrote:
>> I am planning to use the session id for session as a key for a hash that I
>> am maintaining.
>> How do I get the session id from the session object?
>
> Off the top of my head, engine('session')->id() should do the job.

Or even session->id;

-- 
Alexis Sukrieh


More information about the Dancer-users mailing list