Dear all,
i have a form, which post a variable: username
and it post to the page login.php
i have in login.php;
session_start();
if (session_register("username")){
echo("User name is: $username.");
}else{
echo("Could not set the session variable!");
}
and i think this should register the variable username in the session, but when i run this page, i got the following message:
Warning: Cannot send session cache limiter - headers already sent (output started at c:\inetpub\wwwroot\cash\www\foot.inc:14) in c:\inetpub\wwwroot\cash\www\login.inc on line 11
what that for .. ?
[ am using IIS 5.0] windows 2000 server