id,summary,reporter,owner,description,type,status,component,version,severity,resolution,keywords,cc,stage,has_patch,needs_docs,needs_tests,needs_better_patch,easy,ui_ux 2226,SuspiciousOperation: User tampered with session cookie exception when used with mod_python,nesh at studioquattro co yu,Adrian Holovaty,"This is similar to #1758 but I can't login at all. Precisely I '''can''' login, but after the cookie is created all access to the site returns {{{SuspiciousOperation: User tampered with session cookie}}}. Clearing the cookies does not help, I can access non-admin parts of the site until I try to log in again. I'm using Apache 2.0.53 prefork, latest trunk, sqlite database, Python 2.4.1, no proxy, browser cache disabled. DEBUG mode are OFF. Tested in FF, Safari and Opera. Same site works with runserver and lighttpd. Is there any workaround for this? Or I must use fastcgi instead? ---- Relevant parts from {{{setup.py}}} {{{ #!python # 192.168.0.ZZZ my web server private IP # 82.XXX.XXX.XXX is my web server public IP # 192.168.0.XXX is my machine INTERNAL_IPS = ('192.168.0.XXX', '82.XXX.XXX.XXX', '127.0.0.1', '192.168.0.ZZZ') SESSION_COOKIE_NAME = 'DJANGO_STAGING_' + SITE_NAME.upper() MIDDLEWARE_CLASSES = ( ""django.middleware.common.CommonMiddleware"", ""django.contrib.sessions.middleware.SessionMiddleware"", ""django.contrib.auth.middleware.AuthenticationMiddleware"", 'django.middleware.locale.LocaleMiddleware', ""django.middleware.doc.XViewMiddleware"", ) }}} vhost entry: {{{ DocumentRoot /www ServerName myhost.com /www""> allow from all Options FollowSymLinks LogLevel debug TransferLog riznica.access.log ServerSignature Off PythonPath ""['', '/store/contrib', '/store/django'] + sys.path"" PythonInterpreter riznica PythonDebug On SetHandler python-program PythonHandler django.core.handlers.modpython SetEnv DJANGO_SETTINGS_MODULE .settings SetHandler None SetHandler None SetHandler None ErrorLog riznica.error.log }}}",defect,closed,Core (Other),,major,worksforme,,nesh@…,Unreviewed,0,0,0,0,0,0