Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Customer can't login


kickback7

Recommended Posts

You need to disable the SID killer. There is an issue with off site SSL and the SID killer. Find this code in /catalog/includes/application_top.php line 403 appox. and just follow the instructions. This should fix your problem.

//================================================================

if ( ($HTTP_GET_VARS['currency']) ) {

  tep_session_register('kill_sid');

  $kill_sid=false;

 }

if (basename($_SERVER['HTTP_REFERER']) == 'allprods.php' ) $kill_sid = true;

if ( ( !tep_session_is_registered('customer_id') ) && ( $cart->count_contents()==0 ) && (!tep_session_is_registered('kill_sid') ) ) $kill_sid = true;

if (basename($PHP_SELF) == FILENAME_LOGIN ) $kill_sid = false;

// To disbale the SID Killer un comment the line below (will make this an admin selection

//$kill_sid = false;

//================================================================  

Steve

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

Link to comment
Share on other sites

Hi, on my configure.php i set both the http_server and https_server to a secure link (https://domain.com) and now I get a page not found. Any ideas?

 

Thanks

 

Don't set both to SSL, just the one that needs to be set. If you do this will really slow the site down. And the reason you get page not found, is your files aren't on the SSL server.

Steve

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

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...