Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Sessions are messed up


discomonkey

Recommended Posts

Hey os'ers, I'm having problems with my sessions and cookies. When I I set "force cookie use" to true, it will redirect me to the cookie usage page everytime I try to buy something. When I turn it off, the oscID is not being h andled correctly, and you can see it in the url that somethign weird is happening. Could someone pop over to http://www.martinadesigns.com/ and take a look? I'm really confused here...

 

-Chris

Link to comment
Share on other sites

Did you already fix the problem? I put something in my cart & went through checkout to the credit card part. No problems except it doesn't tell me what shipping method it's coming by (is it a flat rate?).

 

Can you tell us what problem you're having specifically (what pages, with what actions)?

 

 

Wendy

Link to comment
Share on other sites

well, I want to get rid of the OSC id at the top of the browser. I don't want it to show at all. The only way I know how to do this is to force cookie usage. When I do that though, everytime you go to add something to your cart, it takes you to the cookie usage page. the most noticeable thing I can think of is that the url seems to construct kinda weird.... I'm sure that having huge urls is bad for the search engine spiders as well.

 

Do you see what I'm talking about?

Link to comment
Share on other sites

well, I want to get rid of the OSC id at the top of the browser.  I don't want it to show at all.  The only way I know how to do this is to force cookie usage.  When I do that though, everytime you go to add something to your cart, it takes you to the cookie usage page.  the most noticeable thing I can think of is that the url seems to construct kinda weird....  I'm sure that having huge urls is bad for the search engine spiders as well.

 

Do you see what I'm talking about?

 

 

you might first want to correct your cookie settings, my browser does not accept yours and as such I keep getting the session id in the url.

Treasurer MFC

Link to comment
Share on other sites

The cookie settings are not configured correctly...and there are harcoded links all over the place. You'll have to form each link with tep_href_link() or risk losing the osCsid.

 

Bobby

Link to comment
Share on other sites

define('HTTP_SERVER', 'http://www.martinadesigns.com');
define('HTTPS_SERVER', 'http://martinadesigns.com');
define('HTTP_COOKIE_DOMAIN', '.martinadesigns.com');
define('HTTPS_COOKIE_DOMAIN', '.martinadesigns.com');
define('HTTP_COOKIE_PATH', '/');
define('HTTPS_COOKIE_PATH', '/');

Try these settings...

 

Bobby

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...