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

David Precious davidp at preshweb.co.uk
Fri May 27 23:56:29 CEST 2011


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.


-- 
David Precious  ("bigpresh")
http://www.preshweb.co.uk/

   "Programming is like sex. One mistake and you have to support
   it for the rest of your life". (Michael Sinz)


More information about the Dancer-users mailing list