Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Infinite Login Loop


triden55

Recommended Posts

I am having some troubles with customers who use IE. If they try to login and enter the correct information, it brings them right back to the login page. Currently, firefox and chrome seem to work fine. This effects all versions of IE including 9 and I cannot figure out the problem. It stops customers from beig able to order because they need to login or register to order which does not work. Any ideas?

 

Running v2.3.1 in pretty much default configuration.

 

Thanks!

 

Christan

Link to comment
Share on other sites

Could have something to do with how your IE browser(s) are handling cookies, or the customer session ID is not registering properly in IE.

 

If you look at checkout_shipping.php, at the top there is this code:

 

// if the customer is not logged on, redirect them to the login page
 if (!tep_session_is_registered('customer_id')) {
   $navigation->set_snapshot();
   tep_redirect(tep_href_link(FILENAME_LOGIN, '', 'SSL'));
 }

 

That is why you aren't getting past the first checkout step. Maybe in the admin, set force cookies to true?

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...