dj4uk Posted December 4, 2007 Posted December 4, 2007 I'm transferring a perfectly working site to another server and everything is working ok apart from sessions. I've got the same settings on this server (same php.ini file). Basically when I add something into the basket it appears in the basket but as soon as I navigate anywhere else in the site the basket empties. I've added a quick echo into the application_top.php file to display the session ID inline and everytime you move pages the session ID changes. Has anyone got any idea why this might be? Cheers DJ
FIMBLE Posted December 4, 2007 Posted December 4, 2007 I'm transferring a perfectly working site to another server and everything is working ok apart from sessions. I've got the same settings on this server (same php.ini file). Basically when I add something into the basket it appears in the basket but as soon as I navigate anywhere else in the site the basket empties. I've added a quick echo into the application_top.php file to display the session ID inline and everytime you move pages the session ID changes. Has anyone got any idea why this might be? Cheers DJ I would have a guess that it is your configure.php files the cookies locations may be wrong. Nic Sometimes you're the dog and sometimes the lamp post [/url] My Contributions
tigspok Posted December 4, 2007 Posted December 4, 2007 I'm transferring a perfectly working site to another server and everything is working ok apart from sessions. I've got the same settings on this server (same php.ini file). Basically when I add something into the basket it appears in the basket but as soon as I navigate anywhere else in the site the basket empties. I've added a quick echo into the application_top.php file to display the session ID inline and everytime you move pages the session ID changes. Has anyone got any idea why this might be? Cheers DJ If you have a shared SSL, you can get this same problem, I know from experience. Check you SSL paths, and if you have a shared one, check into getting a private SSL, took care of the same problem for me. http://www.positivessl.com/ssl-certificate-products/ssl.html this is where I got mine for 9 bucks. Thanks Mike
dj4uk Posted December 5, 2007 Author Posted December 5, 2007 I would have a guess that it is your configure.php files the cookies locations may be wrong.Nic Cheers Fimble. I had the HTTP_COOKIE_PATH was wrong. Thanks again.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.