in reply to Re^3: 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?

But you see you didn't read the documentation. I don't know how CGI::Simple::Cookie works. In fact it doesn't does it? When I look at the documentation for CGI::Simple I see code which is very different to what you have shown us here.

You errors are very basic. For example, in Form 2 you do not create a valid CGI::Simple object, nor do you attempt to read the cookie correctly. I suggested earlier that you read the documentation for one very sinmple reason, there is simple explanatory code with copious explanatory notes. I do not believe that the monastery was established so that we could run one on one basic programming classes for people who prefer not to RTFM.

Please go and read the documentation and the tutorial and if you have a further issue and you have tried the sample code, THEN come back and ask a question.

jdtoronto

  • Comment on Re^4: How can i access a session(CGI::Session) variable in other forms?