Jump to content

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

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.