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

Manera, Villiam vmanera at manord.com
Wed Oct 26 11:48:43 EDT 2005


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




More information about the Mod_python mailing list