Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Logged in client gets logged out at checkout


impagination

Recommended Posts

Posted

Hi,

 

When a logged in client clicks on checkout, they are redirected to the welcome login page and prompted to login to proceed.

 

We are using a shared SSL certificate which I've heard can be a problem. Any advice welcomed.

 

Thanks

Posted

sounds like a session problem. You could double check your configure.php files. Not sure why the shared SSL could cause problems - unless your configuration is incorrect or something specific with a host is going on - plenty of osc stores use shared SSL.

Posted

This is almost always caused by setting the cookie domains incorrectly. These two lines:

 

define('HTTP_COOKIE_DOMAIN', '');

define('HTTPS_COOKIE_DOMAIN', '');

 

They should basically have the urls of each server (http and https) minus the actual http:// or https://.

Local: Mac OS X 10.5.8 - Apache 2.2/php 5.3.0/MySQL 5.4.10 • Web Servers: Linux

Tools: BBEdit, Coda, Versions (Subversion), Sequel Pro (db management)

Posted
This is almost always caused by setting the cookie domains incorrectly. These two lines:

 

define('HTTP_COOKIE_DOMAIN', '');

define('HTTPS_COOKIE_DOMAIN', '');

 

They should basically have the urls of each server (http and https) minus the actual http:// or https://.

 

Thanks Alan, right on the money.

Archived

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

×
×
  • Create New...