simy has asked for the wisdom of the Perl Monks concerning the following question:

Hi, I have created a session say like form1.cgi and created cookie to pass on the session id to form2.cgi and also i have created some session variables in that session Now i got the session id using the cookie in form2.cgi..now i want to access those session variables. How can i do that?? Is it by reopening the session?? i tried to reopen using..
$session = CGI::Session->load($sid) or die CGI::Session->errstr(); #$s +id is the session id passed from form1.cgi
Please let me know abt this... Thanks in advance, simy

Replies are listed 'Best First'.
Re: How can i open an existing session?
by liverpole (Monsignor) on May 08, 2006 at 21:47 UTC
    Greetings simy,

    Hasn't your question already been essentially answered here?  If you need to modify your question, or desire clarification of details, please stick with the original post.  It will get you a warmer response!


    s''(q.S:$/9=(T1';s;(..)(..);$..=substr+crypt($1,$2),2,3;eg;print$..$/