i'm using django with apache2. if i disable php4 module of apache2(using a2dismod php4), my django application runs well. if i enable php4 module and log a user in, my django application gives the following error message:
Mod_python error: "PythonHandler django.core.handlers.modpython" Traceback (most recent call last): File "/usr/lib/python2.4/site-packages/mod_python/apache.py", line 299, in HandlerDispatch result = object(req) File "/usr/lib/python2.4/site-packages/Django-0.95-py2.4.egg/django/core/handlers/modpython.py", line 163, in handler return ModPythonHandler()(req) File "/usr/lib/python2.4/site-packages/Django-0.95-py2.4.egg/django/core/handlers/modpython.py", line 136, in __call__ response = self.get_response(req.uri, request) File "/usr/lib/python2.4/site-packages/Django-0.95-py2.4.egg/django/core/handlers/base.py", line 59, in get_response response = middleware_method(request) File "/usr/lib/python2.4/site-packages/Django-0.95-py2.4.egg/django/middleware/locale.py", line 16, in process_request language = translation.get_language_from_request(request) File "/usr/lib/python2.4/site-packages/Django-0.95-py2.4.egg/django/utils/translation/trans_real.py", line 308, in get_language_from_request lang_code = request.session.get('django_language', None) File "/usr/lib/python2.4/site-packages/Django-0.95-py2.4.egg/django/contrib/sessions/middleware.py", line 35, in get return self._session.get(key, default) File "/usr/lib/python2.4/site-packages/Django-0.95-py2.4.egg/django/contrib/sessions/middleware.py", line 57, in _get_session self._session_cache = s.get_decoded() File "/usr/lib/python2.4/site-packages/Django-0.95-py2.4.egg/django/contrib/sessions/models.py", line 65, in get_decoded raise SuspiciousOperation, "User tampered with session cookie." SuspiciousOperation: User tampered with session cookie. i need to use php4 and django together, how can i solve it?appreciate any help my system: debian linux kernal version 2.6.17-2-686 apache2 2.0.55-4.2 libapache2-mod-python 3.2.10-1 python 2.4.3 django 0.95 -- from czk. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users -~----------~----~----~----~------~----~------~--~---