perl-embperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Harald Becker" <harald.bec...@webscope.de>
Subject RE: sharing data across SSI's (Executes)
Date Wed, 03 Sep 2003 07:33:07 GMT
Storing complex data structures in %udat could behave different than
expected.
%udat only recognize changes in keys and values. If value is a reference
to hash or array it will not update the session data! So you must add a
dummy "changed" key and switch value from 0 to 1 or 1 to 0 if you want
to update the session data.

Harald

> Generally, only put data that you want to use on subsequent 
> requests in %udat.
> 
...
> Need 1: A variable that persists across all requests for a 
> given browser: use %udat. Eg $udat{key} = $value
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org


Mime
View raw message