Jump to content

trouble with sessions


shortj75

Recommended Posts

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 register
code

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 working
if any one can help it would be great and thanks in advanced
Link to comment
https://forums.phpfreaks.com/topic/5252-trouble-with-sessions/
Share on other sites

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
Link to comment
https://forums.phpfreaks.com/topic/5252-trouble-with-sessions/#findComment-18676
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.