Jump to content

Archived

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

shortj75

trouble with sessions

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

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
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

Share this post


Link to post
Share on other sites

×

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.