By ArvindSingh on
Hi
I'm on Drupal 5.x and I'm facing a problem with the home link on my site. When I click on it, it takes me to the login page as if the session has got timed out. But in reality it seems to be serving the page from cache. However, If I refresh the login page, then the link takes me to my home page from then on.
I've searched quite a bit but in vain. I tried the $GLOBALS['tempUser'] = $user; solution as per one of the forum topics here but no success.
Any help on this will be much appreciated.
thanks
arvind
Comments
Maybe...
I had a problem like that on one of my first sites. I don't remember all of the specifics but it was caused by a link changing the URL from http://.... to http://www..... - what I ender up doing was making a htaccess rewrite rule to remove the www from all domain URLs.
Don't know if this helps but it may be worth looking into.
The Cosmic Gift | Complete Computer Care | Team Hope
aka double login issue - aka multisite login issue
On further seach , I've come across these massive threads:
"Double logins", caching, and logging in and out (5.x) - http://drupal.org/node/70521
Elusive login issue (4.7.x)- http://drupal.org/node/117917
Login issues with multiple sites in the same domain (session cookie collision) (5.x)- http://drupal.org/node/56357
I'll try the solution mentioned in the last thread as I too have multiple sites , for example
abc.domain.com;
xyz.domain.com;and
domain.com