Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Keeps defaulting to login page


wildman21

Recommended Posts

I am hoping that someone can help so I know how to answer this question next time.

 

A customer rang me today as they could not place an order. When I talked them through we logged in OK, their name came up on the screen OK. Then whenever they clicked on a product it kept telling them to log in again. They could not get past the login prompt.

 

They said they were using IE 6 however we have tried other computers this afternoon without problem. Is it something in their IE settings.

 

Any help would be appreciated. Thanking you in advance.

Link to comment
Share on other sites

IE is actually more demanding than other browsers, such as Firefox, when it comes to the correct settings being used in your configure.php files. I would suggest you look in them for the solution - especially to make sure that your http_cookie_domain says just www.yourdomain.com and not http://www.yourdomain.com

 

Vger

Link to comment
Share on other sites

Hi there Rhea

 

Thanks for your interest in my frustrating problem

 

Here is the config file. The http_cookie_domain looks fine?? I think

 

Any other ideas would be greatly appreciated

 

Many thanks

 

Daniel

 

 

define('HTTP_SERVER', 'http://www.lightingpro.com.au'); // eg, http://localhost - should not be empty for productive servers

define('HTTPS_SERVER', 'https://secure8.myownserver.net/~lighting'); // eg, https://localhost - should not be empty for productive servers

define('ENABLE_SSL', true); // secure webserver for checkout procedure?

define('HTTP_COOKIE_DOMAIN', 'www.lightingpro.com.au');

define('HTTPS_COOKIE_DOMAIN', 'secure8.myownserver.net/~lighting');

define('HTTP_COOKIE_PATH', '/catalog/');

define('HTTPS_COOKIE_PATH', '/catalog/');

define('DIR_WS_HTTP_CATALOG', '/catalog/');

define('DIR_WS_HTTPS_CATALOG', '/catalog/');

define('DIR_WS_IMAGES', 'images/');

define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');

define('DIR_WS_INCLUDES', 'includes/');

define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');

define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');

define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');

define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');

define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');

 

define('DIR_WS_DOWNLOAD_PUBLIC', 'pub/');

define('DIR_FS_CATALOG', '/home/lighting/public_html/catalog/');

define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');

define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

 

// define our database connection

define('DB_SERVER', 'localhost'); // eg, localhost - should not be empty for productive servers

define('DB_SERVER_USERNAME', 'XXXXXXXX');

define('DB_SERVER_PASSWORD', 'XXXX');

define('DB_DATABASE', 'XXXXXX');

define('USE_PCONNECT', 'false'); // use persistent connections?

define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql'

?>

Link to comment
Share on other sites

I remember looking at your site now - PLEASE (for your own sake) lose that terrible scrolling marque logo in the header. It will drive people away in droves. It does my eyes in just look at your site.

 

Back to the problem - have you set 'Force Cookie Use' to 'true' in your osC admin panel under Configuration --> Sessions? If you have then set it to false, because this feature does not work with a shared ssl address.

 

Your configure.php file is fine and your shared ssl is working okay.

 

Vger

Link to comment
Share on other sites

Thank you for your feedback regarding scrolling banner - it will disappear forever tomorrow (today now)

 

The cookie setting in sessions is set to false.

 

Is it possible that the customer had some funny settings in their IE. They assure me they cookie enabled. Is there anything else you can think of that would keep the login screen coming up?

 

Many thanks

Link to comment
Share on other sites

The only thing I can think of is if they had a very old version of Windows, Windows 95, or 98 version 1 or similar. This would have only been able to handle 40 bit encryption and could not handle 128 bit encryption which is the standard for ssl now.

 

Vger

Link to comment
Share on other sites

I am hoping that someone can help so I know how to answer this question next time.

 

A customer rang me today as they could not place an order. When I talked them through we logged in OK, their name came up on the screen OK. Then whenever they clicked on a product it kept telling them to log in again. They could not get past the login prompt.

 

They said they were using IE 6 however we have tried other computers this afternoon without problem. Is it something in their IE settings.

 

Any help would be appreciated. Thanking you in advance.

 

Is it hapenning with a specific customer.Plus are you using Mysql for sessions or temp folder.

 

Satish Mantri

Ask/Skype for Free osCommerce value addon/SEO suggestion tips for your site.

 

Check My About US For who am I and what My company does.

Link to comment
Share on other sites

HI Satish

 

Many thanks for your interest in my major dilemma which has re-occurred today. I thought it may have been just one customer but a different customer has had the same problem - cant place an order!

 

The settings in sessions are as follows:-

 

Session Directory /tmp

Force Cookie Use False

Check SSL Session ID False

Check User Agent False

Check IP Address False

Prevent Spider Sessions False

Recreate Session False

 

Any advice would be greatly appreciated.

 

Many thanks

 

Daniel

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...