Warning: session_start(): Cannot send session cache limiter - headers already sent

Posted by shyam on Stack Overflow See other posts from Stack Overflow or by shyam
Published on 2010-04-24T06:58:47Z Indexed on 2010/04/24 7:03 UTC
Read the original article Hit count: 151

Filed under:

I am receiving this warning in a page while I try starting the session.

<?php
    session_start();
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
    <title>Video</title>
</head>

-this is the part of the code. There are no characters (not even space) before the first line. This page is reached after logging in from another page, through redirection. Any help? (PHP version is 5.2)

© Stack Overflow or respective owner

Related posts about php