[Dancer-users] Custom Session Handler issues

David Precious davidp at preshweb.co.uk
Wed May 18 19:25:23 CEST 2011

On Wednesday 18 May 2011 16:56:39 David Precious wrote:
> In that case, the proper answer is most likely to write a
> Dancer::Session::CGISession session engine which provides compatibility
> with CGI::Session-based sessions, then set that as your chosen session
> engine and use Dancer's own session support.
> Writing a session engine wrapper is quite simple - you simply inherit from
> Dancer::Session::Abstract and implement the required methods.  You could
> take a look at Dancer::Session::Simple for a dead-simple example.

In fact, take a look at https://github.com/bigpresh/Dancer-Session-CGISession 
which I've just started.

Not yet ready to use, and I'm off out to play darts tonight so won't have it 
working tonight, but should be able to finish it soon, it's pretty simple 

Feel free to fork and submit pull requests if you want to help it along :)


Dave P

David Precious  ("bigpresh")

   "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