Session problem - return to shop logged out
Posted 11 October 2011 - 12:10 PM
If I go from my shop to paypal, and just click cancel and return to shop, I am logged out, so it's obviously an internal oscommerce setting, but I have no idea what. Using v2.3.1. My sister who has used oscommerce for years and is running 2.2 and is very computer literate has no idea what wrong, so if someone could please post an abc... I am totally new to computer shopping carts so please treat me like a total novice. Thank you.
Posted 11 October 2011 - 01:37 PM
may be with your http (cookie) settings in catalog/includes/configure.php is something wrong.
Show us your configure.php. But only the first lines till DIR_WS_HTTPS_CATALOG. We dont need your database password [img]http://forums.oscommerce.com//public/style_emoticons/default/whistling.gif[/img])
Edited by tomcat4x, 11 October 2011 - 01:39 PM.
Posted 11 October 2011 - 02:39 PM
Fixing this requires coding an interface between the two sites: not trivial, but Paypal does let you do it...you need to check the Paypal API documentation for how to do this - warning, it can be complicated to get going.
I don't understand why tomcat4x needs the configure.php file. Don't send it till you know why.
Edited by p2409, 11 October 2011 - 02:40 PM.
"I can add modules to OSC" = I can search, cut and paste. But not well, or I wouldn't be here.
"I start my posting with 'works like a charm' = I'm letting you down gently, nothing works and I have no idea why
"I finish postings with "plzzzz....hlp" = My installation is buggered and I know I'm going to have to pay someone, but I really, really don't want to.
Posted 11 October 2011 - 06:57 PM
I asked him for the first lines of the first lines of the configure.php obviously has problems with setting the cookies.
So i don't understand you, what's the problem by sending the first lines of his configure.php.
If he fix the problem with paypal, what is with the next payment module?
Why shold he do some complicated things, like share a session between two servers, when the problem may be solved for all payment modules in his own configuration?
Posted 19 April 2012 - 07:09 AM
add to includes/configure.php this line:
This works for me