Re: Apache::Session not updating (writing)

[prev] [thread] [next] [Date index for 2005/05/11]

From: Gokul P. Nair
Subject: Re: Apache::Session not updating (writing)
Date: 04:13 on 11 May 2005
--- Bart Simpson <batttmannn1976@xxxxx.xxx> 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@xxxxx.xxx> wrote:
> 
> --- Rick <rapichai@xxxxx.xxx> 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 

Re: Apache::Session not updating (writing)
Bart Simpson 03:57 on 11 May 2005

Re: Apache::Session not updating (writing)
Gokul P. Nair 04:13 on 11 May 2005

Re: Apache::Session not updating (writing)
Bart Simpson 04:27 on 11 May 2005

Re: Apache::Session not updating (writing)
Bart Simpson 17:45 on 11 May 2005

Re: Apache::Session not updating (writing)
Perrin Harkins 21:56 on 11 May 2005

Generated at 15:53 on 25 May 2005 by mariachi v0.52