session problem with php5.. urgent help needed please
Posted: Fri Nov 05, 2010 11:04 am
i'm converting a php4 application to php5.
i copied all the files to the server with php5 and added the required session_start() line at the start of all the files that deals with session variables.
when i am at the login form, i display the $_SESSION and it displays at the bottom of the form, but when i click the login button, (login.php i display the $_SESSION) and it displays a blank array.
i`m attaching my index file which draws the login form and the login.php file and also the php.ini session settings.
i have been struggling with this and any help and suggestion is welcomed.
thanks
i copied all the files to the server with php5 and added the required session_start() line at the start of all the files that deals with session variables.
when i am at the login form, i display the $_SESSION and it displays at the bottom of the form, but when i click the login button, (login.php i display the $_SESSION) and it displays a blank array.
i`m attaching my index file which draws the login form and the login.php file and also the php.ini session settings.
i have been struggling with this and any help and suggestion is welcomed.
thanks