perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gokul P. Nair" <gpnai...@yahoo.com>
Subject Re: Apache::Session not updating (writing)
Date Wed, 11 May 2005 04:13:47 GMT
--- Bart Simpson <batttmannn1976@yahoo.com> wrote:
"Don't use mason though."

I'm curious about your last statement about not using
Mason, why do u say so?


--- Bart Simpson <batttmannn1976@yahoo.com> wrote:
> 
> --- Rick <rapichai@gmail.com> wrote:
> > I'm having problems with
> > MasonX::Request::WithApacheSession (using
> > Apache::Session::MySQL backend). The session is
> not
> > being updated, so
> > I can't save any data to it. I verified this by
> > looking at the mysql
> > logs. 
> 
> Are you timestamping your session each time you
> updated it?  it only updates if you change someting
> in
> top level of session hash, thus usually you
> timestamp
> the session in top level when updating it.
> 
> $session->{hash}->{key} = $new_val ; # won't cause
> update
> 
> $session->{hash} = { key => $new_val }; # causes
> update cause hash address changed in top level.
> 
> See docs Apache::Session docs for details about
> this.
> Other than this I've never had this problem. Don't
> use
> mason though.
> 
> HTH
> 
>  
> 
> 
> 		
> Discover Yahoo! 
> Find restaurants, movies, travel and more fun for
> the weekend. Check it out! 
> http://discover.yahoo.com/weekend.html 
> 
> 


		
__________________________________ 
Yahoo! Mail Mobile 
Take Yahoo! Mail with you! Check email on your mobile phone. 
http://mobile.yahoo.com/learn/mail 

Mime
View raw message