My first page is:
<?php
session_start();
$_SESSION['test'] = 'testSession';
?>
Other page is:
<?php
session_start();
echo $_SESSION['test'];
?>
There is no output on the second page. The error log outputs:
[30-Oct-2013 12:13:53] PHP Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent
Are there any ideas as to what the problem might be? The session variables can be outputted fine on the first page (when I tested), but not on the second. Thank you.