shortj75 Posted March 18, 2006 Share Posted March 18, 2006 hey everyone i am switching servers i was useing easyphp1-8 and i switched to iis and my sessions arnt starting when i log in i have session_start(); at the top of every page and here is my session registercode session_register('user'); $_SESSION['user'] = $user; session_register('email'); $_SESSION['email'] = $email;it worked fine on easyphp but its not working on iis is there something different i have to do on iis to get it workingif any one can help it would be great and thanks in advanced Quote Link to comment https://forums.phpfreaks.com/topic/5252-trouble-with-sessions/ Share on other sites More sharing options...
hitman6003 Posted March 18, 2006 Share Posted March 18, 2006 Make sure that the session save path is defined in php.ini. And make sure it exists on the file system, nd make sure that it has the proper permissions.Hopefully that will take care of it. Quote Link to comment https://forums.phpfreaks.com/topic/5252-trouble-with-sessions/#findComment-18669 Share on other sites More sharing options...
shortj75 Posted March 18, 2006 Author Share Posted March 18, 2006 ok now it is storring the session info and it will only pass it if i edit the my title.php page and i can login and out as much as i want until i close the browser then i have to edit the title .php page again to get to work again it is wierd any suggestions Quote Link to comment https://forums.phpfreaks.com/topic/5252-trouble-with-sessions/#findComment-18676 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.