Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
The above syntax will first try to initialize an existing session data, if it fails ( if the session doesn't exist ) creates a new session: just what we want. But what if the user doesn't support cookies? In that case we would need to append the session id to all the urls as a query string, and look for them in addition to cookie:$sid = $cgi->cookie("CGISESSID") || undef; $session = new CGI::Session(undef, $sid, {Directory=>'/tmp'});
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Concern with CGI::Session
by davidj (Priest) on Jun 14, 2005 at 06:41 UTC | |
by Anonymous Monk on Jun 14, 2005 at 07:05 UTC | |
by Joost (Canon) on Jun 14, 2005 at 08:04 UTC | |
by Anonymous Monk on Jun 14, 2005 at 09:02 UTC | |
by Joost (Canon) on Jun 14, 2005 at 09:24 UTC | |
by rjsaulakh (Beadle) on Jun 14, 2005 at 09:20 UTC | |
|
Re: Concern with CGI::Session
by cees (Curate) on Jun 14, 2005 at 11:37 UTC | |
by rjsaulakh (Beadle) on Jun 14, 2005 at 12:43 UTC | |
by cees (Curate) on Jun 14, 2005 at 14:10 UTC |