carefreespirit wrote in php

Session Variables

Ok...I am completely confused. I have an authentication system that I wrote and has been working fine when its sitting on one server that uses apache. I have copied the code to a windows server that has php installed on it and the session variables don't work. What am I missing?? Is there a setting somewhere I need to change on the windows machine to get it to work??

EDIT: Let me correct that - the session variables work except when they first come to the site. for some reason, if (strlen($_SESSION['svUserName'])<1) does not work


EDIT AGAIN: It tells me undefined index: svUserName

That is on every page unless I go back to the login screen (Without closing the browser) and login in again...then everything works fine.