Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Login Session problems with Shared SSL


rhubarb

Recommended Posts

Posted

When I login as a user, and the url in the address bar correctly changes to that of the shared secure server, but as soon as I navigate elsewhere on the site it thinks I'm logged off, so I can't access the checkout.

 

I have another live osc MS2 shop working ok with the same shared secure server and similar config settings. Settings as follows:

 

Administration > Configuration > Sessions:

 

Session Directory = /tmp

Force Cookie Use = False

Check SSL Session ID = True/false - (tried both)

Check User Agent = False

Check IP Address = False

Prevent Spider Sessions = True

Recreate Session = True

 

configure settings:

 

define('HTTP_SERVER', 'http://www.<domain>');

define('HTTPS_SERVER', 'https://dnslinux.co.uk/~<package name>');

define('ENABLE_SSL', true);

define('HTTP_COOKIE_DOMAIN', 'www.<domain>');

define('HTTPS_COOKIE_DOMAIN', 'www.<domain>');

define('HTTP_COOKIE_PATH', '/<catalog dir>/');

define('HTTPS_COOKIE_PATH', '/<catalog dir>/');

define('DIR_WS_HTTP_CATALOG', '/<catalog dir>/');

define('DIR_WS_HTTPS_CATALOG', '/<catalog dir>/');

 

define('USE_PCONNECT', 'false');

define('STORE_SESSIONS', 'mysql');

 

If I set ENABLE_SSL to false then the login works ok.

Posted

You are correct, to get the www.domain.co.uk to work you would have to buy another cert, or get a wilcard cert which would cover all *.domain.co.uk.

Kenneth S

--------------

Customer "Are you a real programmer?"

Me "No, but I did stay at a Holiday Inn Express last night"

  • 2 weeks later...
Posted

I'm still getting this login problem and when I do the only solution is to login again in a new browser window. Also it always requires another login before the checkout; this must be something to do with the SSL server not seeing the register of sessions.

Archived

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

×
×
  • Create New...