This is a discussion on shopping cart is cleared after I log in within the osCMax v1.7 Discussion forums, part of the osCMax v1.7 Forums category; I make selections then go to cart and am asked to log in - I log in and my cart ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| I make selections then go to cart and am asked to log in - I log in and my cart has been emptied - I am using 1.55 - why does this happen? |
| Sponsored Links | ||
| ||
|
#2
| ||||
| ||||
| Your session is not carrying over to SSL most likely. Fix your sessions settings in the admin.
__________________ Michael Sasek osCMax Developer
|
|
#3
| |||
| |||
| what should they be? I am running it on my local linux box which doesn't have ssl I assume, what should me settings be? |
|
#4
| |||
| |||
| I am also experiencing problems with the shopping cart. The cart shows differing contents on the non-secure and the secure server, and I lose the cart contents when logging in (jumping to secure server). Is this most likely something that can be fixed in the admin and/or configure.php file? Or could it be a setting on my server? My current admin settings: Session Directory: /tmp Force Cookie Use: True Check SSL Session ID: False Check User Agent: False Check IP Address: False Prevent Spider Sessions: True Recreate Session: True |
|
#5
| |||
| |||
| Ok, I set the "Force Cookie Use" to False and that seems to have fixed it. Can anyone explain (briefly) why this fixes the problem? Thanks. |
|
#6
| ||||
| ||||
| Session have to match on BOTH the client and the server. If your SSL on the server is on a physical server then the session "file" does not exist as it was created/maitained on the non-ssl server. Same for a LOCAL session ID when used in URL - it is kept with the URL - if your URL changes when you change to SSL - you could losse the SID. Storing Session in MYSQL on the server side if you have a "shaired" SSL is general required. Cookies for clients computer is better looking and will go no mater what URL you end up. NOTE the ONLY thing the cookies store is the Name (of site?), SID number, and the main site URL and not much else. No other site can really use this information anyway.
__________________ JPF - osCMax Fourm Moderator Try out our osCMax at: Live Catalog Demo Limited access Admin: Live Admin Demo Feel free to add products they way you want and then purchase them -=+=- Sorry nothing will be billed or shipped! |
| Sponsored Links | ||
| ||
| Thread Tools | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Shopping cart | decoster | osCMax v2 Customization/Mods | 1 | 12-05-2006 09:12 AM |
| Which shopping cart should I use? Please help. | earth-friendly | osCMax v2 Customization/Mods | 6 | 07-16-2006 01:36 PM |
| shopping cart issue | martinR | osCommerce 2.2 Installation Help | 1 | 01-25-2005 11:09 AM |
| Shopping cart problem | Anonymous | osCMax v1.7 Discussion | 2 | 11-08-2003 11:55 AM |
| have shopping cart on a schedule | lopeel | osCommerce 2.2 Modification Help | 1 | 10-07-2003 10:28 AM |