in reply to CGI.pm, CGI::Session and Cookies
CGI::Session is expecting the cookie name to be CGISESSID. You are naming the cookie something else. Don't put anything else in the cookie, just the session-id and that will be fine. Of course you need to set the expiry values and the domain.my $session_cookie = $q->cookie( -name => 'CGISESSID', -value => $sess->id, );
Then once you have the session you can save the other things in the session, not the cookie. ,P. jdtoronto
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: CGI.pm, CGI::Session and Cookies
by digger (Friar) on Feb 09, 2004 at 21:06 UTC | |
by jdtoronto (Prior) on Feb 09, 2004 at 21:42 UTC | |
by digger (Friar) on Feb 09, 2004 at 22:30 UTC | |
by jdtoronto (Prior) on Feb 10, 2004 at 00:50 UTC | |
by digger (Friar) on Feb 10, 2004 at 20:34 UTC |