mike <msmspellman...@gmail.com> asked:
> I am trying to pass a hash of hashes from one script to another via a
> cookie.  I can get the cookie to pass, but when I try to get the inner
> hash keys and values using what I think is the correct method, I
> cannot get them.  Here are two scripts which should do it, but don't:

Assuming that you do traditional CGI, each script invocation starts a new Perl 
process that exists after executing the script. When that happens, all your 
data is expunged and the hash reference you passed becomes invalid.

What you want to do is called session handling and there are oodles of modules 
for doing that on CPAN.

HTH,
Thomas

--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to