ahh... sorry i forgot the cherypy config... works like a charm.

Thanks a lot.

On May 3, 7:23 pm, Pavel Strashkin <[email protected]> wrote:
> http://www.turbogears.org/1.0/docs/Sessions.htmlandhttp://www.cherrypy.org/chrome/common/2.2/docs/book/chunk/ch03.html#i...
> will help you.
>
> Or if you don't like read too much :) here is what you should put into
> your config:
>
> session_filter.on = True
> session_filter.storage_type = 'File'
> session_filter.storage_path = '/tmp'
>
> 2011/5/3 [email protected] <[email protected]>:
>
>
>
>
>
>
>
> > that makes sense, but is it possible to change the storage type in
> > tg1 ?
> > if yes how?
>
> > On May 3, 7:12 pm, Pavel Strashkin <[email protected]> wrote:
> >> Hello hello,
>
> >> What the storage do you use for sessions? Memory (my 5 cents that it's
> >> true)? If it's then you should switch to filesystem (preferably) or
> >> database storage...
>
> >> 2011/5/3 [email protected] <[email protected]>:
>
> >> > Hello,
> >> > i just found out a strange session behavior in turbogears 1.0.8 under
> >> > mod_wsgi with processes set greater then 1.
> >> > It looks like the sessions are not shared across process that affects
> >> > cherrypy.session and tg.i18n.get_locale by returning different values.
>
> >> > Any idea how to fix it ?
>
> >> > ps
> >> > setting  WSGIDaemonProcess processes=1 in apache config seems to fix
> >> > the issue...
>
> >> > Thanks,
> >> > Timor A.
>
> >> > --
> >> > You received this message because you are subscribed to the Google 
> >> > Groups "TurboGears" group.
> >> > To post to this group, send email to [email protected].
> >> > To unsubscribe from this group, send email to 
> >> > [email protected].
> >> > For more options, visit this group 
> >> > athttp://groups.google.com/group/turbogears?hl=en.
>
> > --
> > You received this message because you are subscribed to the Google Groups 
> > "TurboGears" group.
> > To post to this group, send email to [email protected].
> > To unsubscribe from this group, send email to 
> > [email protected].
> > For more options, visit this group 
> > athttp://groups.google.com/group/turbogears?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/turbogears?hl=en.

Reply via email to