[support] Login issues

Kalyani Waychal kalyani.waychal at oscpro.in
Tue Oct 16 11:35:12 UTC 2007


Try this
Add the following code to your index.php
After drupal_page_footer(); add at the end of code add:
$GLOBALS['tempUser'] = $user;



On 10/9/07, Daniel Carrera <daniel.carrera at zmsl.com> wrote:
>
> 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/ ]
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/support/attachments/20071016/b5cdff87/attachment.htm 


More information about the support mailing list