By rinehart on
I'm working with the unconed theme and find that when I click the home link the site thinks that the user has logged out. The logon block appears on the home page, and all links and blocks are restricted to permissions set for anonymous users. If I click the 'log in' button without typing a username or password I'm directed to the user page, where the PHPSESSIONID for the previous session is located.
Should I report this as an issue?
Comments
problem identified
Attaching this response from weitzman which accurately describes the issue:
Me too - Cached (un-logged-in) version of home page after login
I log in to my drupal site, feingold.christianlong.com, and the logged-in home page appears, with my user name. OK.
The address bar shows
http://feingold.christianlong.com/node?PHPSESSID=867c4e2d57d290a3f59e138...
In the site menu, the "Home" link links to http://feingold.christianlong.com/
Here's the problem: when I click on the "Home" link, the browser takes me to the un-logged-in version of http://feingold.christianlong.com/, which was cached when I was not logged in.
When I hit refresh, I do get the logged-in version of the page.
So, to restate
Start at home page of site, not logged in
Log in - this works, and brings up a logged-in version of the page
Click "Home" - this is where the problem is. I get the cached version of the home page (from when I was not logged in)
Refresh browser - now I see the correct, logged-in version of the home page.
It looks like I am logging in OK, but that Drupal is not telling my browser that there is a new version of the home page that it needs to check for
Maybe the original (non-logged-in) version of the page is not marked for no-cache, and so when I click on the "Home" link, I get the cached (non-logged-in) version
Browsers: MSIE 6 (happens a lot) and Firebird (happens sometimes).
Also happens with christianlong.com
I second that
After futher investigation I've found that this happens with my wife's computer, but doesn't happen with mine. So I think it's somehow related to the browser version/type.
BTW, I looked into the PHP angle with my hosting service (opensourcehost.com). The host believes that this is not related to their configuration as it does not impact most of their customers.
- Mac
browser config
perhaps your wife's PC has a browser confirg which says 'check with server every time' for a newer page.
Forget the browser
Changing the configuration on one browser is not going to fix the problem. The problem is that, with default browser sttings, Drupal login misbehaves. See the bug report here. http://drupal.org/node/view/5900
Logged out after login
I was having this problem with my site on firebird, ie, and opera. I couldn't even log into drupal.org to report it, turned out the date on my pc was set a month in advance and the cookies were expiring too soon.