Not able to use CGI::Session

Newbie Member
13Jun2007,16:20   #1
madhavi's Avatar
Hi,

Can anyone guide me on how to use CGI::Session in Perl? I would like to create sessions for an Web application.

Thanks & Regards
Madhavi
Team Leader
13Jun2007,17:47   #2
pradeep's Avatar
Please refer to this thread http://www.go4expert.com/showthread.php?t=1077
Newbie Member
14Jun2007,10:51   #3
madhavi's Avatar
Hi Pradeep,

I tried the example given by you & encountered the following prb:
- Could not redirect the page using 'print $session->header(-location=>'index.pl');'
Kindly give me your inputs.

Thanking You,
Madhavi
Team Leader
14Jun2007,11:54   #4
pradeep's Avatar
What was the exact error?? I guess, you don't have the index.pl so you must have got a HTTP 404 error.
Newbie Member
14Jun2007,16:16   #5
madhavi's Avatar
The error is :

Software error:

save_param(): first argument must be an object at blib/lib/CGI/Session.pm (autosplit into blib/lib/auto/CGI/Session/load_param.al) line 1037
CGI::Session::load_param('CGI::Session') called at /var/www/pages/perl/index.pl line 8

For help, please send mail to this site's webmaster, giving this error message and the time and date of the error.


index.pl does exist.
Team Leader
14Jun2007,17:05   #6
pradeep's Avatar
Try upgrading CGI::Session to the latest version!