Trying to figure our how to create, store and retrieve session info in Catalyst. Any suggestions?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You need only to add the relevant session plugins to your
use Catalystline, ie:… and then you can refer to
$c->session->{key}from there. There are some configurables about cookie age and so on, but the defaults are sane. That should get you started.(Of course, you may need to install those Session-related modules from CPAN, if they’re not available to you already.)