Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

User Sign in Problem


jbroomfield

Recommended Posts

Posted

Hi,

 

I have searched the database for 2 hours, and cannot find a post on this problem. So my apologies in advance if it has been answered many times before.

 

1. After setting up OSC MS2.2, I created a test account.

2. I used the test account to sign in.

3. I then use the test account to checkout.

 

Instead of bringing me to the checkout page, it kinda "forgot" that I am signed-in, and brings me to the sign in page again. Also, it does not remember what I have placed in the cart.

 

I must have done something wrong for the cookies or sessions configuration.

 

Please help, thanks!!!

There are only 10 types of people in this world: those that understand binary and those that don?t.

Posted

1. Did you set "Force cookie use" to "true" in Admin/Sessions? Does your site use shared SSL and not your own SSL certificate? If so, set it to "false".

 

2. Post the first 20 lines of your catalog/includes/configure.php Don't post the defines at the end that give the database info. This will help us see what you may have done wrong.

 

General tip - the xxx_COOKIE_DOMAIN defines must contain the domain (only) that match that of the corresponding (HTTP and HTTPS) xxx_SERVER defines. The cookie domain defines should not contain "http" or anything other than the domain name ('example.com').

Posted

Steve,

Just wanted to say thanks for posting that. Your "general tip" was EXACTLY what was going wrong with me!

Archived

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

×
×
  • Create New...