perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Barksdale, Ray" <barksd...@mdot.state.ms.us>
Subject RE: What am I missing?
Date Thu, 06 Oct 2005 15:14:48 GMT
 I new if I said something stupid someone would step forward with the
right answer :)

> -----Original Message-----
> From: Perrin Harkins [mailto:perrin@elem.com] 
> Sent: Wednesday, October 05, 2005 10:11 PM
> To: Barksdale, Ray
> Cc: Octavian Rasnita; modperl@perl.apache.org
> Subject: Re: What am I missing?
> 
> Barksdale, Ray wrote:
> >  set a timestamp in your sessions before untying.
> 
> That's for telling it that the session has changed by doing a 
> first level write to the tied hash.  This is only necessary 
> when you are writing to the second level and not touching the 
> first, e.g.
> 
> $session->{'user'}->{'favorite_color'} = 'mauve';
> 
> It doesn't need to be a timestamp either.  Just doing this 
> every time will work fine:
> 
> $session->{'touch'} = 1;
> 
> In any case, that doesn't seem to be the problem here.
> 
> - Perrin
> 

Mime
View raw message