in reply to Re^2: How can i access a session(CGI::Session) variable in other forms?
in thread How can i access a session(CGI::Session) variable in other forms?
In my "form2.cgi" i have used..$log_ses= new CGI::Session(); $CGISESSID = $log_ses->id(); $cookie1 = new CGI::Simple::Cookie( -name=>'ID', -value=>$CGISESSID );
when i try to goto form2.cgi...it gives me the following error in the error log.. Can't call method "value" on an undefined value can someone shoot me an example how to handle cookies for session ids??? thanks, simy%cookies = fetch CGI::Simple::Cookie; $id = $cookies{'ID'}->value;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: How can i access a session(CGI::Session) variable in other forms?
by ww (Archbishop) on May 08, 2006 at 19:30 UTC | |
|
Re^4: How can i access a session(CGI::Session) variable in other forms?
by jdtoronto (Prior) on May 09, 2006 at 02:50 UTC |