Hi
I cannot get sessions to work.
I have the following code
</body>
<?
session_start() ;
$counter++;
print "You have visited this page $counter times during this session";
session_registe r("counter");
?>
</html>
And get the following output
Warning: session_start() [function.sessio n-start]: Cannot send session
cookie - headers already sent by (output started at /home/ted/
public_html/store/test/testsession.php :15) in /home/ted/public_html/
store/test/testsession.php on line 16
Warning: session_start() [function.sessio n-start]: Cannot send session
cache limiter - headers already sent (output started at /home/ted/
public_html/store/test/testsession.php :15) in /home/ted/public_html/
store/test/testsession.php on line 16
You have visited this page 1 times during this session
What is going wrong????
-Ted