I am trying to post session variables:-
session_register("varname");
echo "<INPUT='TEXT' NAME='varname'>...etc..SUBMIT.
the variable is saved and transfered to the next page fine,
but at the beginning of the first page I get an error:-
Warning: Cannot send session cookie - headers already sent by(c:\pathname......)
This is on a localintranet- Apache server setup
Anyone know why I'm geting this error????
Thanks
sesion error
Moderator: General Moderators
You must not send even a single character of the content before you're using session_start()that doesn't work
Code: Select all
<html><?php session_start().....