♥MYC267 Posted February 14, 2004 Posted February 14, 2004 I have a problem on the site where new customers create an account and then try and add something to their cart or navigate around the site and it logs them out. Very strange.. I know my config is set up perfectly as well and I know I don't have any contributions that will effect the process. I replicated the problem on my girlfriends PC (Windows ME with IE5.5). I spent a few hours trying to figure it out.... then I just cleared the browsers cache (including cookies) and restarted the browser and BOO YAAA it all started working perfectly!!! I managed to get a couple of customers to do the same with theirs and it all started working for them. My question is why would that be the case?? What could be in the users cache that would automatically log off my customers??? Dan
OceanRanch Posted February 14, 2004 Posted February 14, 2004 I don't know if this might be contributing to your situation, however...... You might want to consider turning "force cookie use" and "check ssl session id" to false in admin->configuration->sessions. The wiki doc on this mentions some problems with setting these to true with aol users. This may also apply under some other conditions. It's worth a try...... HTH Tom
♥MYC267 Posted February 14, 2004 Author Posted February 14, 2004 I do not want to force cookie usage. On all the help I have seen on this issue it says to turn all those values in the session config to false. Could it be an old cookie from my old web site that is interfering? Dan
OceanRanch Posted February 14, 2004 Posted February 14, 2004 I agree, I said turn the settings to false........ :D Tom
♥MYC267 Posted February 15, 2004 Author Posted February 15, 2004 ahhh ok. Anyway I have figured out what the problem is, I hope someone can shed some light on it. Basically it was a cookie I created on our old site. It was a forum creating the cookie for the domain "modyourcar.com.au". Anyway I had the problem on my brothers computer, then I went into the cookies directory, deleted that cookie and WHAM it started working. So my question is why is that cookie conflicting with the OSC session management? And secondly what would be the PHP code to remove cookies for an entire domain? I could put that in application_top and it would fix everyones computer that has the cookie. I have already added a setcookie command to application_top to make the keys of that specific cookie invalid but I don't know if that means the cookie will actually be deleted or the key taken out of the cookie. Dan
user99999999 Posted February 15, 2004 Posted February 15, 2004 Hi, I still get similar results, even your logoff button doesnt work. LogOff->Add2Cart->CheckOut->AutoLogin I think you have some problem similar to the getenv('SSL') or $globals['SERVER_NAME'] or maybe some SID killer mod thats causing your cookies/sessions to get messed up. Try checking some values around line 393 in catalog/includes/classes/sessions.php Also if you can change your SSL domain to just be the same,no 'secure' in it, then I think it would work fine. Dave...
♥MYC267 Posted February 15, 2004 Author Posted February 15, 2004 I think you have some problem similar to the getenv('SSL') or $globals['SERVER_NAME'] or maybe some SID killer mod thats causing your cookies/sessions to get messed up. I uninstalled a SID killer yer but what are those other two problems?? Maybe I will change the SSL domain then eh... I will do now... I wantes it to be secure.modyourcar.com.au though which is the domain the cert is issued to. So let me get this right... you have tried signing up to my shop etc... and you still get wierd problems?? Dan
Recommended Posts
Archived
This topic is now archived and is closed to further replies.