in reply to Re^2: CGI::Session Compilation Issues
in thread CGI::Session Compilation Issues
So $session is not defined. Either you didn't show the relevant parts of the script, as in, a self-contained, runnable, minimal script that reproduces the error, or the $session you're using to print is not the $session you declared further above. Also, read the CGI::Session documentation for ->new. It says Constructor. Returns new session object, or undef on failure. So, if there is an error when constructing the session, it might return undef. Maybe because your $perl_sessions directory does not exist.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: CGI::Session Compilation Issues
by rpike (Scribe) on Feb 22, 2010 at 20:21 UTC | |
by Corion (Patriarch) on Feb 22, 2010 at 20:40 UTC | |
by rpike (Scribe) on Feb 22, 2010 at 20:57 UTC | |
by Corion (Patriarch) on Feb 22, 2010 at 21:01 UTC | |
by Anonymous Monk on Feb 22, 2010 at 22:58 UTC |