Perl Monk, Perl Meditation | |
PerlMonks |
Re: CGI::App session params losing values between redirectsby bradcathey (Prior) |
on Feb 28, 2009 at 19:49 UTC ( [id://747198]=note: print w/replies, xml ) | Need Help?? |
Update: solved After another very careful reading of the docs and looking at the source code of the plugin, I added the line CGI::Session->name('MY_SESSID'); and voila. Turns out if you change the name of the cookie in your configuration block, you have to let CGI::Session know about it or it creates another cookie/session, wiping out the old one. As soon as I added the line, all was good. I'm curious where it stores the name, because I'm not finding it in the actual /tmp/sessionfile.
—Brad "The important work of moving the world forward does not wait to be done by perfect men." George Eliot
In Section
Seekers of Perl Wisdom
|
|