Forum Moderators: phranque

Message Too Old, No Replies

php sessions problem

session not held on apache2

         

brownfox

7:15 pm on Jun 15, 2005 (gmt 0)

10+ Year Member



I've got an OS Commerce site on a "real" webserver and on my laptop running apahce2 (on XP). On the "real" webserver all is fine regarding sessions being kept, but on my laptop unless the links are followed with something like this:?osCsid=eecc05b3d1322b25156342c2cced417f
I get booted out and promptred to login again. It's not the OS package as it's identical code to the one on the "real" server, so it must be my apache2 configuration on the laptop. Does anyone know about how apache and php should be configured regarding sessions? Any help gratefully received...

jdMorgan

11:15 pm on Jun 15, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



brownfox,

Welcome to WebmasterWorld!

A good thing to try is a search [google.com] of the forum archives, where you'll find this question has been much-discussed. That should get you started. Then post any follow-on questions here, and refer to specific previous threads if needed.

Jim

brownfox

8:50 am on Jun 16, 2005 (gmt 0)

10+ Year Member



Thanks jd that did the trick in php.ini file set both session...cookies.. to 0 and viola!