rick2302 Posted March 8, 2009 Share Posted March 8, 2009 I am developing a website that uses Session Variables. They work fine on my Development Machine, I can set them, and display them, but when I attempt to use the website on another Computer in my Home Network, they do not work - no values can be set or retrieved.The URL on my Development Machine is http://localhost/index.php and my other computer is http://<developmentMachineName>/index.phpI seem to think it has something to do with my php.ini file and maybe I need to set something with ini_set but I cannot seem to figure it out.I expect this will be a problem once I publish the site to my host, so am trying to get a handle on it sooner than later.Any ideas??Thanks! Link to comment Share on other sites More sharing options...
justsomeguy Posted March 9, 2009 Share Posted March 9, 2009 Some browsers have issues saving cookies on a local network or any domain that only has one part. It should work when you upload it. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.