[Catalyst] Use SessionId from HTTP header

Christiaan Kras c.kras at pcc-online.net
Sun Feb 14 11:43:11 GMT 2010


In a RESTful application I'm working I'd like to be able to load a session based on the sessionid which is sent with the HTTP headers. The application will, at a later stadium, get a webinterface as well so I'd still like to use cookies, except for the RESTful part I want to be able to choose.

What would be the best approach on this problem. Write a Catalyst::Plugin:Session::State based module? If so, some pointers on doing so would be nice. I'm not very familiar with Catalyst and Moose, so I'm struggling a bit on this part.

Thanks,

Christiaan




More information about the Catalyst mailing list