Hi All, The best I understand it, this is a mod_python problem. I put in some debugging code into session middleware to see what it is sending to who. This is my debug statement.
LOGGER.debug("Process %d Request 0x%x and response 0x%x IP: %s The session key send is %s and mod python request is 0x%x" % (os.getpid(),id(request),id(response),request.META['HTTP_X_FORWARDED_FOR'],session_key, id(request._req))) If you take a look at the attached log you will see the same child process having the same request._req object for two different IP addresses. Now this should not normally happen should it. The memory address of response object also matches. It also matches the time when the users noticed it. I'll be upgrading both apache2 and mod python soon to their latest versions, we'll see if this happens again. Best Regards On 11/6/06, Jakub Labath <[EMAIL PROTECTED]> wrote: > Hi All, > > Just to clarify few things I'm not setting either cookie nor do I have > have modified the sessions framework. The sessionid in question is the > one that django.auth sets when one logs-in into the admin. I am using > caching but not site wide I use the cache_page decorator on few views. > > Are you saying that if any of the views that have cache_page decorator > were to modify the sessionid cookie, that would then get served to all > clients that would go to that view? > > Hmm ... something to look into I'll research further. > > Thanks > > On 11/3/06, Bill de hOra <[EMAIL PROTECTED]> wrote: > > > > Bill de hOra wrote: > > > > > > http://www.djangoproject.com/documentation/cache/ > > > > One other thing; be sure you are only ever issuing the initial cookie > > with POST request and not a GET. > > > > cheers > > Bill > > > > > > > > > > > -- > Jakub Labath > -- Jakub Labath --~--~---------~--~----~------------~-------~--~----~ 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?hl=en -~----------~----~----~----~------~----~------~--~---
2006-11-06 09:48:27,052 DEBUG 14722 /usr/local/django_new/trunk/django/contrib/sessions/middleware.py:108 Process 14722 Request 0x408c034c and response 0x40d054cc IP: 192.168.31.161 The session key send is 64867a758e708588bacf224a2017707d and modpython request is 0x40878a18 2006-11-06 09:48:38,578 DEBUG 3932 /usr/local/django_new/trunk/django/contrib/sessions/middleware.py:108 Process 3932 Request 0x40cdda0c and response 0x40f3792c IP: 192.168.31.161 The session key send is 64867a758e708588bacf224a2017707d and modpython request is 0x41023020 2006-11-06 10:08:04,862 DEBUG 3934 /usr/local/django_new/trunk/django/contrib/sessions/middleware.py:108 Process 3934 Request 0x40ca146c and response 0x40f7ea6c IP: 192.168.31.161 The session key send is 64867a758e708588bacf224a2017707d and modpython request is 0x40f5cee8 2006-11-06 10:08:15,949 DEBUG 6751 /usr/local/django_new/trunk/django/contrib/sessions/middleware.py:108 Process 6751 Request 0x40d26cac and response 0x40f69dec IP: 192.168.31.161 The session key send is 64867a758e708588bacf224a2017707d and modpython request is 0x40ee25a0 2006-11-06 15:34:12,343 DEBUG 20808 /usr/local/django_new/trunk/django/contrib/sessions/middleware.py:108 Process 20808 Request 0x408c036c and response 0x40d7876c IP: 192.168.31.161 The session key send is 64867a758e708588bacf224a2017707d and modpython request is 0x40878a18 2006-11-06 15:35:34,755 DEBUG 20815 /usr/local/django_new/trunk/django/contrib/sessions/middleware.py:108 Process 20815 Request 0x408c030c and response 0x40f20d6c IP: 192.168.31.161 The session key send is 64867a758e708588bacf224a2017707d and modpython request is 0x40f06bd0 2006-11-06 15:35:48,580 DEBUG 20804 /usr/local/django_new/trunk/django/contrib/sessions/middleware.py:108 Process 20804 Request 0x40bbab8c and response 0x40d21a2c IP: 192.168.31.161 The session key send is 64867a758e708588bacf224a2017707d and modpython request is 0x40878a18 2006-11-07 09:34:11,991 DEBUG 20804 /usr/local/django_new/trunk/django/contrib/sessions/middleware.py:108 Process 20804 Request 0x417963cc and response 0x40d21a2c IP: 192.168.31.161 The session key send is 64867a758e708588bacf224a2017707d and modpython request is 0x41764ee8 2006-11-07 09:47:13,207 DEBUG 30323 /usr/local/django_new/trunk/django/contrib/sessions/middleware.py:108 Process 30323 Request 0x40d2522c and response 0x40d23aec IP: 192.168.31.161 The session key send is 64867a758e708588bacf224a2017707d and modpython request is 0x40878a18 2006-11-07 09:47:33,979 DEBUG 30343 /usr/local/django_new/trunk/django/contrib/sessions/middleware.py:108 Process 30343 Request 0x40bbabac and response 0x40d62dcc IP: 192.168.31.161 The session key send is 64867a758e708588bacf224a2017707d and modpython request is 0x40878a18 2006-11-07 11:57:41,677 DEBUG 30324 /usr/local/django_new/trunk/django/contrib/sessions/middleware.py:108 Process 30324 Request 0x40cf1cac and response 0x40d82d4c IP: 192.168.31.139 The session key send is 64867a758e708588bacf224a2017707d and modpython request is 0x40878a18 2006-11-07 11:59:11,278 DEBUG 30327 /usr/local/django_new/trunk/django/contrib/sessions/middleware.py:108 Process 30327 Request 0x40d299cc and response 0x40d4f6ac IP: 192.168.31.161 The session key send is 64867a758e708588bacf224a2017707d and modpython request is 0x40878a18 2006-11-07 12:00:58,879 DEBUG 30325 /usr/local/django_new/trunk/django/contrib/sessions/middleware.py:108 Process 30325 Request 0x40d440ec and response 0x40d3e26c IP: 192.168.31.139 The session key send is 64867a758e708588bacf224a2017707d and modpython request is 0x40878a18 2006-11-07 12:02:26,562 DEBUG 30324 /usr/local/django_new/trunk/django/contrib/sessions/middleware.py:108 Process 30324 Request 0x40d8526c and response 0x40d82d4c IP: 192.168.31.161 The session key send is 64867a758e708588bacf224a2017707d and modpython request is 0x40878a18 2006-11-07 12:26:32,446 DEBUG 30323 /usr/local/django_new/trunk/django/contrib/sessions/middleware.py:108 Process 30323 Request 0x40d63b0c and response 0x40d23aec IP: 192.168.31.139 The session key send is 64867a758e708588bacf224a2017707d and modpython request is 0x40878a18 2006-11-07 13:04:06,715 DEBUG 30323 /usr/local/django_new/trunk/django/contrib/sessions/middleware.py:108 Process 30323 Request 0x40bb9c4c and response 0x40d23aec IP: 192.168.31.139 The session key send is 64867a758e708588bacf224a2017707d and modpython request is 0x40878a18 2006-11-07 13:04:21,670 DEBUG 30343 /usr/local/django_new/trunk/django/contrib/sessions/middleware.py:108 Process 30343 Request 0x40d8f9ac and response 0x40d62dcc IP: 192.168.31.139 The session key send is 64867a758e708588bacf224a2017707d and modpython request is 0x40f39700 2006-11-07 13:18:08,711 DEBUG 30323 /usr/local/django_new/trunk/django/contrib/sessions/middleware.py:108 Process 30323 Request 0x40d1ddac and response 0x40d23aec IP: 192.168.31.139 The session key send is 64867a758e708588bacf224a2017707d and modpython request is 0x40878a18 2006-11-07 13:20:12,913 DEBUG 30328 /usr/local/django_new/trunk/django/contrib/sessions/middleware.py:108 Process 30328 Request 0x40d2128c and response 0x40f8c42c IP: 192.168.31.139 The session key send is 64867a758e708588bacf224a2017707d and modpython request is 0x40f12d88 2006-11-07 13:24:06,428 DEBUG 30326 /usr/local/django_new/trunk/django/contrib/sessions/middleware.py:108 Process 30326 Request 0x40ba338c and response 0x40f76fcc IP: 192.168.31.139 The session key send is 64867a758e708588bacf224a2017707d and modpython request is 0x40d3cd30 2006-11-07 13:26:32,009 DEBUG 30328 /usr/local/django_new/trunk/django/contrib/sessions/middleware.py:108 Process 30328 Request 0x40f2f78c and response 0x40f8c42c IP: 192.168.31.139 The session key send is 64867a758e708588bacf224a2017707d and modpython request is 0x40d2c9c0 2006-11-07 13:26:55,385 DEBUG 30326 /usr/local/django_new/trunk/django/contrib/sessions/middleware.py:108 Process 30326 Request 0x40d9868c and response 0x40f76fcc IP: 192.168.31.139 The session key send is 64867a758e708588bacf224a2017707d and modpython request is 0x40d3cd30 2006-11-07 13:29:31,268 DEBUG 30326 /usr/local/django_new/trunk/django/contrib/sessions/middleware.py:108 Process 30326 Request 0x40f6420c and response 0x40f76fcc IP: 192.168.31.139 The session key send is 64867a758e708588bacf224a2017707d and modpython request is 0x40d3cd30 2006-11-07 13:29:44,478 DEBUG 30325 /usr/local/django_new/trunk/django/contrib/sessions/middleware.py:108 Process 30325 Request 0x40ba902c and response 0x40d3e26c IP: 192.168.31.139 The session key send is 64867a758e708588bacf224a2017707d and modpython request is 0x40878a18 2006-11-07 13:29:59,894 DEBUG 30326 /usr/local/django_new/trunk/django/contrib/sessions/middleware.py:108 Process 30326 Request 0x40d2d2cc and response 0x40f76fcc IP: 192.168.31.139 The session key send is 64867a758e708588bacf224a2017707d and modpython request is 0x40d3cd30