Cannot send session cookie - header !!!!!"
Hi,
I am working on the myorder.php...........
I am handling the sessions for this , i have developed a separete that has the session information, this file contains
<?php
ob_start();
session_start();
$sid=session_id();
?>
when i call this file on the add-to-order.php and also writing these lines on the top of the page as(myorder.php)
<?
ob_start();
require("Connections/Session.php");
....
....
...
....
header(Location: myorder.php);
exit(1);
?>
Then i face 3 types of errors.
1- session_start(): Cannot send session cookie - headers already sent
2- session_start(): Cannot send session cache limiter - headers already sent
3- Cannot modify header information - headers already sent by (output...
If anyone would help, i am very thankful to him for this.
Thanks.:)
|