5 replies [Last post]
blcompton's picture
Offline
Joined: 06/23/2009
Juice: 16
Was this information Helpful?

I have Drupal setup as an internal intranet. It is using LDAP to authenticate users against our active directory. I have Ubercart installed and functioning as a store front for obtaining marketing collateral and give-a-ways.

For some uers, not all, they are prompted to login again upon choosing checkout from their cart. Once they login again, they can proceed to place thier order. This occurs even when they have already logged in when they first access the site. I have the persistant login module installed so users don't have to re-login upon every visit.

Any ideas where I should begin looking to address this issue?

Thanks.

Eppik's picture
Offline
Joined: 06/23/2009
Juice: 26
Just wondering

Are they asked to log in a second time if the site jumps to an https based address? If so that's happening to me too.

Ryan's picture
Offline
Joined: 08/07/2007
Juice: 15438
Re: Just wondering

I believe there's documentation on resolving the HTTP / HTTPS issue w/ your cookie domain on drupal.org.

GreyHawk's picture
Offline
Joined: 03/17/2009
Juice: 174
I had this problem with some users who had

older versions of IE, others with IE via AOL, and others on Macs using Firefox.

For most of those users, their system was caching an older version of the page that they'd loaded before logging in.

Resetting their cache settings -- or, for those who couldn't be remotely walked through doing that, having them hit "reload" from 1 to 3 times -- took care of their issues.

If that's not what you're experiencing, definitely follow up on the hint that Ryan provided -- I just thought I'd bounce the caching "solution" off ya in the meantime.

Good luck.

b0b
b0b's picture
Offline
Joined: 06/25/2009
Juice: 23
Re: Ubercart prompting for login even though user already logged

Base URL in the Settings file maybe?

/**
* Base URL (optional).
*
* If you are experiencing issues with different site domains,
* uncomment the Base URL statement below (remove the leading hash sign)
* and fill in the URL to your Drupal installation.
*
* You might also want to force users to use a given domain.
* See the .htaccess file for more information.
*
* Examples:
* $base_url = 'http://www.example.com';
* $base_url = 'http://www.example.com:8888';
* $base_url = 'http://www.example.com/drupal';
* $base_url = 'https://www.example.com:8888/drupal';
*
* It is not allowed to have a trailing slash; Drupal will add it
* for you.
*/
# $base_url = 'http://www.example.com'; // NO trailing slash!

blcompton's picture
Offline
Joined: 06/23/2009
Juice: 16
What fixed my issue

Under the settings for Persistent Login module, I removed cart/checkout from the "Pages Which Require an Explicit Login" list. I not sure why it was listed there in the first place, but removing it cleared up the issue.