On Sat, Jun 10, 2000 at 07:30:04AM -0600, Ken Miller wrote:
> The session hash reference is a tied var.  When you follow a reference past 
> the first level, the tied methods don't get invoked.  When you update the 
> top level (as you did with the time()) you cause the tied methods to be 
> invoked, and subsequently, the data is stored.
> 
> The last thing I do in my handlers, right before I untie the hash, is to 
> update a timestamp, just as you did.

This one bit me also.  I'm now using this (since I don't need a timestamp)

  tied(%session)->make_modified;


Dave


-- 

-  Dave Baker  :  [EMAIL PROTECTED]  :  http://dsb3.com/  :  AIM#duirwyrd  -
GPG: 1024D/D7BCA55D / 09CD D148 57DE 711E 6708  B772 0DD4 51D5 D7BC A55D

PGP signature

Reply via email to