priyeshrawal Posted February 8, 2009 Posted February 8, 2009 New session is formed when logging in causing loss of products in the cart, however if i clicked checkout then nothing is lost as session id remains the same What is causing a new session ID everytime i login rather than leaving it as it is before logging in? My site is heavily modded. anyone know where i can start looking? configure file has not changed, all is fine there i think. Thanks
Guest Posted February 8, 2009 Posted February 8, 2009 New session is formed when logging in causing loss of products in the cart, however if i clicked checkout then nothing is lost as session id remains the sameWhat is causing a new session ID everytime i login rather than leaving it as it is before logging in? My site is heavily modded. anyone know where i can start looking? configure file has not changed, all is fine there i think. Thanks You might try recreate session in admin. I'm sure you can find it in sessions.
priyeshrawal Posted February 8, 2009 Author Posted February 8, 2009 You might try recreate session in admin. I'm sure you can find it in sessions. Hi thanks, that is not the issue, I am trying to figure out how to correct the code behind login so that it does not create a new session when one is already there preventing loss of products in a cart when customer logs in. any ideas what could be causing this or which code i should check? Thanks
Guest Posted February 8, 2009 Posted February 8, 2009 Hi thanks, that is not the issue,I am trying to figure out how to correct the code behind login so that it does not create a new session when one is already there preventing loss of products in a cart when customer logs in. any ideas what could be causing this or which code i should check? Thanks The stock osc works, so what do you have?
priyeshrawal Posted February 10, 2009 Author Posted February 10, 2009 The stock osc works, so what do you have? Hi my website is significantly modified, however I dont know where to begin looking? what files govern the login of customers and maybe I can try and check these files. thanks
Guest Posted February 11, 2009 Posted February 11, 2009 Hi, I had a similar problem and it seems that there can be many reasons to experiance an empty cart. Mine was that I had force cookies true and the catalog/includes/configure.php settings wrong I had: define('HTTP_COOKIE_DOMAIN', 'www.mydomain.com'); define('HTTPS_COOKIE_DOMAIN', 'mydomain.com.au'); Should of been; define('HTTP_COOKIE_DOMAIN', 'www.mydomain.com'); define('HTTPS_COOKIE_DOMAIN', 'www.mydomain.com); If this isnt your issuse google "oscommerce empty cart" & you'll find some other solutions sjc
Recommended Posts
Archived
This topic is now archived and is closed to further replies.