[mod_python] I: Too many cookies using mod_python 3.2.2b from mod_python-3.2.2b.win32-py2.4.exe

Jim Gallacher jg.lists at sympatico.ca
Wed Oct 26 12:26:06 EDT 2005


How are you creating your session instances? A little snippet of your 
code would be helpful.

Thanks,
Jim

Manera, Villiam wrote:
> This for complete my previus message:
> Without  2 lines added in the beta release I still have only 1 cookie as before.
> 
> class BaseSession(dict):
> .........
>         if self._sid:
>             # attempt to load ourselves
>             self.lock()
>             if self.load():
>                 self._new = 0
>                 #if not req.headers_out.has_key("Set-Cookie"):
>                 #    Cookie.add_cookie(self._req, Cookie.Cookie(session_cookie_name, self._sid))
> 
> 
> -----Messaggio originale-----
> Da: Manera, Villiam 
> Inviato: martedì 25 ottobre 2005 16.05
> A: 'mod_python at modpython.org'
> Oggetto: Too many cookies using mod_python 3.2.2b from mod_python-3.2.2b.win32-py2.4.exe
> 
> 
> In apache configuration --> PythonOption ApplicationPath '/'
> 
> Before the beta there was only a cookie: pysid with path = '/'
> 
> With the beta in place there are many pysid with different path,seems one each module  I call, example:
> 
> Pysyd: e81c661b3c9d11948a3b643c4c031695855e254a61239279086ef1bb8916c10c path:/
> Pysid: 855e254a61239279086ef1bb8916c10c path: /cgi-mpy/cgi_mpy_utentis.py/
> Pysyd: 855e254a61239279086ef1bb8916c10c path: /cgi-mpy/cgi-mpy_menu.py/
> Pysyd: 855e254a61239279086ef1bb8916c10c path: /comm/comm_menu.py/
> Pysyd: 855e254a61239279086ef1bb8916c10c path: /pf/pf_magauto.py/ ......
> 
> However seems works fine.
> 
> Some suggest?
> 
> Villiam
> 
> 
> _______________________________________________
> 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