The stupid question is the question not asked | |
PerlMonks |
CGI::Session - trouble passing variablesby Lori713 (Pilgrim) |
on Mar 01, 2004 at 20:05 UTC ( [id://333033]=perlquestion: print w/replies, xml ) | Need Help?? |
Lori713 has asked for the wisdom of the Perl Monks concerning the following question:
I'm trying to learn how to use CGI::Session. After extensive reading all day, googling, POD, etc., I'm at a loss as to why the following won't pass a variable to the next .pl that is called. (I want to use CGI::Session using a hidden field instead of a cookie). The first script runs fine, using HTML::Template, and prints the following at the bottom:
my sid is: 004493c708b377edb6b73dbc5f6b9e61 The second script opens up Excel nicely but gives me an error message. NOTE: $sid is passed via a hidden field in a form, so I'm expecting it to move to the next script via &call_vars which moves all my other variables. Another note: if $sid didn't exist, use strict would complain. However, it shows my $sid as being "1" and not the big long alphanumeric string I would have expected. So, since it doesn't appear that the $sid is being passed, I'm not really expecting f_name to show up... but I also wasn't expecting a param error either...
my sid is: 1 SCRIPT1 (which contains a button that calls SCRIPT2)
SCRIPT2 Any clues for the clueless? TIA... Lori
Back to
Seekers of Perl Wisdom
|
|