[mod_python] Configuring Session.Session

Wayne Pierce shalofin at gmail.com
Tue Jun 28 09:41:09 EDT 2005


Nicolas,

It's not a major issue right now, more of an annoyance as I tend to
overwrite session variables or erase all the sessions when logging out
of one app.  I'll wait for the next version.

Thanks for the reply,

Wayne

On 6/28/05, Nicolas Lehuen <nicolas.lehuen at gmail.com> wrote:
> Hi Wayne,
>  
>  Right now it's not possible, unfortunately. It's not so difficult to do,
> however, so you can expect it to be included in the next mod_python release.
>  
>  If this is really urgent I can provide you a hack which will give you the
> ability to define the session cookie name using "PythonOption
> SessionCookieName foobar ". But it will be definitely a hack and will turn
> you mod_python version into a non-standard one, which is not a good idea. So
> it's better to wait for the next release if you can do so.
>  
>  Regards,
>  Nicolas
>  
> 2005/6/28, Wayne Pierce <shalofin at gmail.com>:
> > 
> > Is it possible to change the session name mod_python sends?  I have a
> > machine where I will be developing several mod_python apps and would
> > like to keep the sessions separate.
> > 
> > However, I have found that each app will use the same session name, 
> > which has caused conflicts (especially when I reuse code between
> > apps).
> > 
> > I didn't find anything in the documentation to do this.  Thanks,
> > 
> > Wayne
> > 
> > _______________________________________________
> > Mod_python mailing list
> > Mod_python at modpython.org
> > http://mailman.modpython.org/mailman/listinfo/mod_python 
> > 
> 
>



More information about the Mod_python mailing list