Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Not staying logged in.


rkd2398

Recommended Posts

Hi and Thanks in advance to all of your help.

 

I have my site up and running, but have one small problem.

 

1. When I log in as a test customer, I add something to the cart and click check-out. The site sends me back to the log on page. i log back in and it asks for the shipping info and I put that in and click continue and it sends me back to the log in page.

 

I am not sure what to do there.

 

One more question - how do I make the site send an email when some one registers?

 

Thanks again!!

Link to comment
Share on other sites

most likely you are loosing sid

 

all links must use tep_href_link do you have any links not doing so?

 

All pages must stay within the catalog.

 

You can set Force Cookie Use to true to allay this, but you should fix the problem

Sam

 

Remember, What you think I ment may not be what I thought I ment when I said it.

 

Contributions:

 

Auto Backup your Database, Easy way

 

Multi Images with Fancy Pop-ups, Easy way

 

Products in columns with multi buy etc etc

 

Disable any Category or Product, Easy way

 

Secure & Improve your account pages et al.

Link to comment
Share on other sites

most likely you are loosing sid

 

all links must use tep_href_link do you have any links not doing so?

 

All pages must stay within the catalog.

 

You can set Force Cookie Use to true to allay this, but you should fix the problem

This is set in your admin, sessions.

 

You can also lose the sid by not having the tmp directory set correctly in sessions, or in your configure.php files. This is the

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

setting. You may need to do a bit of tweaking before it works for you.

Link to comment
Share on other sites

Here is the last line of code from my configure.php

 

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

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

 

But in sessions, the the session directory says /tmp

Link to comment
Share on other sites

Here is the last line of code from my configure.php

 

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

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

 

But in sessions, the the session directory says /tmp

 

sorry hit it twice

Link to comment
Share on other sites

Here is the last line of code from my configure.php

 

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

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

 

But in sessions, the the session directory says /tmp

 

sorry hit it twice

the tmp dir would be better just tmp.

 

Had another thought (apart from cookie use as Sam said) is ssl set up correctly?

Link to comment
Share on other sites

I went into sessions and made the check ssl id for every page and that didnt help. I will contact my host for them to make sure it is set up correctly. but now it wont let me log in. Any ideas?

 

 

 

 

the tmp dir would be better just tmp.

 

Had another thought (apart from cookie use as Sam said) is ssl set up correctly?

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...