On Fri, 3 Nov 2000, Enrique I.Rodriguez wrote:
> Maybe a silly question...
>
> how do I store/retrieve a hash through Apache::Session?
store hash references, not hashes.
>
> This doesn't work...
> # retrieve
> %table=$session{table};
$tableref = $session{table};
> ...
> # store
> $session{table}=%table;
$session{table}= \%table;
or, preferably:
my $tableref = {};
# add stuff to table
# ...
$session{table}= $tableref;
>
> What's my fault?
>
- how do I store/retrieve a hash through Apache::Sessi... Enrique I . Rodriguez
- Re: how do I store/retrieve a hash through Apac... Chris Winters
- Re: how do I store/retrieve a hash through Apac... Tim Bishop
- Re: how do I store/retrieve a hash through Apac... Randy Harmon
- Re: how do I store/retrieve a hash through Apac... Tom Harper
