>> >>             my $res = tieHash( undef, \%flex_options, \%session);
>>
>> IMHO key is here ^^^^^^^
>> Apache::Session and its derivatives saves changes in session hash to
>> storage only when hash is untied. If not - changes are lost.
>
>
>Anyway, you can't store refs to the session hash in globals, it breaks the 
>whole system. This also goes for code in taglibs etc. If you keep a ref to 
>the session hash, you WILL break the session management system! This is going 

Nope ! You can have global session object and references to it as we do here at 
www.satmania.com. But you have to explicitly untie it every time you have finished 
with it. If you forget to untie it, you will get very funny effects when another 
request obtain your old session data through tied global object.


        Ciao, OLeG
-----------------------------------------------------------------
Oleg Assovski, Development dept., Bitcom Ltd., Moscow
We make few little bugs,
we compensate with a lot of big ones



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to