discomonkey Posted April 25, 2005 Share Posted April 25, 2005 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 More sharing options...
Guest Posted April 25, 2005 Share Posted April 25, 2005 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 More sharing options...
discomonkey Posted April 25, 2005 Author Share Posted April 25, 2005 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 More sharing options...
boxtel Posted April 26, 2005 Share Posted April 26, 2005 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? <{POST_SNAPBACK}> 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 More sharing options...
Guest Posted April 26, 2005 Share Posted April 26, 2005 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 More sharing options...
discomonkey Posted April 27, 2005 Author Share Posted April 27, 2005 I dont' know how to correctly configure my cookie settings.... What should they be set to?? Link to comment Share on other sites More sharing options...
Guest Posted April 27, 2005 Share Posted April 27, 2005 What are they currently set as? Bobby Link to comment Share on other sites More sharing options...
discomonkey Posted April 28, 2005 Author Share Posted April 28, 2005 define('HTTP_COOKIE_DOMAIN', 'www.martinadesigns.com'); define('HTTPS_COOKIE_DOMAIN', 'www.martinadesigns.com'); define('HTTP_COOKIE_PATH', '/'); define('HTTPS_COOKIE_PATH', '/'); Link to comment Share on other sites More sharing options...
Guest Posted April 28, 2005 Share Posted April 28, 2005 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 More sharing options...
discomonkey Posted April 28, 2005 Author Share Posted April 28, 2005 works like a charm. Genius! would you mind explaining how thisworks? -Chris Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.