Moon, John wrote:
> Does anyone know if I should be able to write a cookie like :
> 

[ snip complex data structure ]

You can do this if you serialize the complex structure into a scalar and
then deserialize it when you read the cookie back.

For an example of how to do this see the module
Apache::Session::Serialize::Base64. It uses Storable and MIME::Base64 to do
the serialization. There are various other serialization modules on CPAN you
might look into...

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to