With the cache on, here's the issue we're experiencing:

1) register, 1st time login works fine
2) log out
3) New browser, login -- the login doesn't take.
4) Hit refresh, the user is now logged in.

If I turn off the cache, login works as expected. Clearing cookies, between steps 2 & 3 also fixes this. We're using LoginToboggin, but I think its just making calls to the user.module.

I have been exploring the patches/issues posted, and applied the duplicate cookie patch, that did not fix this issue, which seems more related to caching.

If this is a dup, very sorry - please point me to the resolution.

-Greg

Comments

dennistlim’s picture

I've been encountering the same problem as Greg. On my part, login is ok on the server. But when I login from the client, it says page cannot be found. When I hit refresh, the user is already logged it.

Likewise, the logout module works on the server but not on the client.

We're just using a corporate LAN where one PC acts as the host server and other PCs are the clients.

Kindly help ASAP. Thanks

Anonymous’s picture

Status: Active » Closed (fixed)

This appears to be fixed in 4.7.3, No longer seeing the issue and we have cache enabled.

Anonymous’s picture

The original fix has been modified to not use timestamp which introduced some other probs.

Here's the discussion:

-----
When you talk about the timestamp I assume you mean "?time=1160240837" being added to the URL. That is to prevent the page from being cached and was added in this revision: http://cvs.drupal.org/viewcvs/drupal/drupal/modules/user.module?r1=1.612...

It has been removed in this revision: http://cvs.drupal.org/viewcvs/drupal/drupal/modules/user.module?r1=1.612... which was the result of this issue: http://drupal.org/node/70521
-----