Weirfire Posted March 1, 2006 Share Posted March 1, 2006 Hello, I'm having problems forcing the sessions to cookies on www.thesaddleryshop.co.uk Basically whats happening is, that an error is coming up saying that cookies are not enabled on my computer when they are. I've tried getting other people to check the site but they get the same error even when their cookies are enabled. I've had to change it back to use sessions in the URL but does anyone have any idea why the error would be coming up when cookies are in fact enabled on the users computer? Thanks Stephen Weir Link to comment Share on other sites More sharing options...
AlanR Posted March 1, 2006 Share Posted March 1, 2006 Make sure the cookie domains are set correctly. define('HTTP_COOKIE_DOMAIN', 'www.thesaddleryshop.co.uk'); define('HTTPS_COOKIE_DOMAIN', 'thesaddleryshop.co.uk'); I'd probably change the... define('HTTP_SERVER', 'http://www.thesaddleryshop.co.uk'); to: define('HTTP_SERVER', 'http://thesaddleryshop.co.uk'); Just to match the https one although it should work either way. Local: Mac OS X 10.5.8 - Apache 2.2/php 5.3.0/MySQL 5.4.10 • Web Servers: Linux Tools: BBEdit, Coda, Versions (Subversion), Sequel Pro (db management) Link to comment Share on other sites More sharing options...
Weirfire Posted March 1, 2006 Author Share Posted March 1, 2006 Make sure the cookie domains are set correctly. define('HTTP_COOKIE_DOMAIN', 'www.thesaddleryshop.co.uk'); define('HTTPS_COOKIE_DOMAIN', 'thesaddleryshop.co.uk'); I'd probably change the... define('HTTP_SERVER', 'http://www.thesaddleryshop.co.uk'); to: define('HTTP_SERVER', 'http://thesaddleryshop.co.uk'); Just to match the https one although it should work either way. Thanks Alan. I'll let you know if this sorts the problem. :) Link to comment Share on other sites More sharing options...
Weirfire Posted March 1, 2006 Author Share Posted March 1, 2006 Thanks Alan. I'll let you know if this sorts the problem. :) I tried it on my test server http://weirfire.co.uk/saddlery/ and I'm still getting the same error. Any other ideas? Link to comment Share on other sites More sharing options...
Weirfire Posted March 1, 2006 Author Share Posted March 1, 2006 $10 goes to the person who can solve this minor glitch for me! PM me if you think you can help. Link to comment Share on other sites More sharing options...
Guest Posted March 1, 2006 Share Posted March 1, 2006 Hi everyone, I am wondering the same thing! Thanks, Jamie Link to comment Share on other sites More sharing options...
Weirfire Posted March 1, 2006 Author Share Posted March 1, 2006 Hi everyone,I am wondering the same thing! Thanks, Jamie I've just fixed it! :) Have you forced sessions into cookies in the admin? Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.