Users who are using IE6 or IE7 are getting randomly "logged out" from our site about once every 25 mouse clicks. There is no pattern to which page they click on, but all of a sudden they end up back at the login page. Never happens with Firefox. It happens frequently, but most users shrug their shoulders and just log in again.

I sure would appreciate a solution or even just suggestions of other things to try.

Here are the details:

  • Happens about once every 5 minutes of continued use (with both IE6 and IE7).
  • Happens with Drupal 5.1 (PHP Version 4.3.9).
  • No one remembers seeing this problem when we were using Drupal 4.7.6.
  • Happens even if Firefox is running at same time.
  • Tried changing IE privacy setting to Low or "accept all cookies"
  • Tried disabling these modules: remember_me, LDAP, Organic Groups, IMCE, TINYMCE, Insert Views
  • Drupal caching is OFF, so that is not an issue.
  • Tried deleting all related cookies.
  • Put debugging statements in session.inc. Nothing obvious was seen.
  • Tried removing Google Analytics.
  • Tried "ini_set('session.cookie_domain', 'pih.org');" fix from drupal.org/node/83822
  • Tried "$GLOBALS['tempUser'] = $user;" fix from drupal/node/6696
  • Tried fix at drupal.org/node/102114. (But that was for Drupal 4.x)
  • Tried changing theme (from customized Barron theme): Fails easily with Barroness and Barlow themes. Seems to fail much less frequently when using Bluemarine theme.

Related discussions:
http://drupal.org/node/19835 (from 2005)
http://drupal.org/node/83822
http://www.daniweb.com/forums/thread78695.html

While successfully logged in, the IE cookie file looks like:
__utmb
255731160
archie.pih.org/
1600
2700804992
29868848
1881764176
29868844
*
(Or it is non-existent once I remove Google Analytics)

Immediately after getting thrown out:
PHPSESSID
16d4593350b940a4d139ca3e495c11d2
archie.pih.org/
1536
2003009408
29873502
3925546880
29868845
*

Comments

p0732658’s picture

Is anybody working on this problem. It's been going on for months and still no solutions. Instead of working on Drupal 6, maybe developers should fix Drupal 5 before. I'm realy considering going back to 4.7.6 or Joomla... I really like Drupal, but it seem there is always some problems lagging for ever; either with the core or with some of the more cruciale modules.

mbria’s picture

Thanks Mark for the detailed information.

Same issue on a quite clean drupal 5.1

Posting to followup the thread.

iacobau’s picture

If I use IE7, this problem happens. Never happens with Firefox.

markdionne’s picture

We disabled the Collapsiblock module a week ago, and this problem has not happened since then!

-mark

glottus’s picture

I see this in IE6 (not tested in IE7). Have not tested as thoroughly as done by markdionne, but it seems that disabling Collapsiblock helps in my case as well. Too bad, because I could really use that JSTools component! Any good alternatives to easily create collapsible blocks without it? I've tried (unsucessfully) to theme other blocks to include this behavior, and Collapsiblock was the best way I had found.

vito_a’s picture

According to the http://drupal.org/node/289620 , that is seem to be happening again. Could remember two issues, however not sure if that would help.

No one remembers seeing this problem when we were using Drupal 4.7.6.

- but I could remember one thing related to 4.6's session.inc v.1.27 which was definitely logging you out constantly. There was a patch to 1.27.1 or 1.27.2 released soon, but we're spotting that one from time to time even now working with old 4.6 projects. Probably that happened again somehow?

Tried changing theme (from customized Barron theme): Fails easily with Barroness and Barlow themes.

- another one I could remember was related to the custom login blocks adding buggy _validate or _submit hooks thus sending $_POST's nowhere. Could it be the issue of the theme used?

Not sure if said something new, but probably that could help someone.