Try this
Add the following code to your index.php
After drupal_page_footer(); add at the end of code add:
$GLOBALS['tempUser'] = $user;
Jason Flatt wrote:
> My personal take on this is that if Bob can't be bothered to log out, then he
> deserves what he gets, but I know that doesn't fly to well with the user
> population. :^)
:-)
> I have a site where this was a problem, so I changed the
> cookie_lifetime setting in the settings.php file to 0 to force the user to be
> logged out every time they close their browser. Be warned, however, because
> of the various caches, it may be a while before everyone is completely
> affected.
Brilliant! Thanks, I'll try that.
Cheers,
Daniel.
--
[ Drupal support list | http://lists.drupal.org/ ]