I am working with a login system and on my login I want to star a session that has the variables login and password registered. This is the way of my files are organized. I have a login.htm that has a form which POST the two fields of this form called 'ct_login' and 'ct_pass' and has the action = login.php.
login.php validates or no the user retrievieng the username and pass with $HTTP_POST_VAR['ct_login'] and $HTTP_POST_VAR['ct_pass']. If it validates the user, then he creates a session called login_session and open another file called s_proj.htm throug the line header("location:http://pinguim/pb/s_proj.php"); The problem is on my login.php I have the block session_name("login_session"); session_start(); session_register(login); session_register(pass); $HTTP_SESSION_VARS["login"]= '$user'; $HTTP_SESSION_VARS["pass"]='$pass'; mysql_close($link); header("location:http://pinguim/pb/s_proj.php"); and I wish to retrieve at s_proj.php the values of the session variables login and pass registered for my "login_session" session. How can I do it? Thank you Daniel F. Castro [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php