[support] Login problems

Earnie Boyd earnie at users.sourceforge.net
Wed Oct 22 12:39:21 UTC 2008


Quoting bharani kumar <bharanikumariyerphp at gmail.com>:

> Yes, am in same boat,
>
> Thanks
>
> On Wed, Oct 22, 2008 at 3:16 AM, Daniel Carrera 
> <daniel.carrera at zmsl.com>wrote:
>
>> Hello,
>>
>> I have a strange problem on my Drupal 5 site. Some times you have to
>> login twice. That is, you enter your user name and password and when the
>> page reloads you are not logged in at all. So you have to go back to the
>> login page and login again.
>>
>> This seems to happen randomly. It happens perhaps 20% of the time.
>>
>> Any ideas?
>>

Set the $cookie_domain variable in the settings.php file.  The issue is 
that you have links going to sample.com and www.sample.com and they are 
different domains as far as the browser is concerned.

Another option is to use the .htaccess file to redirect to www.sample.com.

Earnie -- http://for-my-kids.com/
-- http://give-me-an-offer.com/



More information about the support mailing list