Hi everyone,
This is my last hope, because no one seems to know the answer to my problem.
The start of my page is this;
<?php
session_cache_l imiter('private ');
$cache_limiter = session_cache_l imiter();
session_cache_e xpire(30);
$cache_expire = session_cache_e xpire();
session_start() ;
?>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Language" content="en-au">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Client Login</title>
followed by the rest of the page, then on top of the page when it runs is;
Warning: session_start() [function.sessio n-start]: Cannot send session cookie - headers already sent by (output started at /home/********/public_html/login.php:1) in /home/********/public_html/login.php on line 9
Warning: session_start() [function.sessio n-start]: Cannot send session cache limiter - headers already sent (output started at /home/********/public_html/login.php:1) in /home/********/public_html/login.php on line 9
Yet, I can still write session data and read it..etc. And I get a warning still if I even try to kill the session...so I don't know. I've also tried putting the code after the page's <head> and retyping the command to right under the <?php command.
If ANYONE can help me, it would be a godsend.
Thank you.
This is my last hope, because no one seems to know the answer to my problem.
The start of my page is this;
<?php
session_cache_l imiter('private ');
$cache_limiter = session_cache_l imiter();
session_cache_e xpire(30);
$cache_expire = session_cache_e xpire();
session_start() ;
?>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Language" content="en-au">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Client Login</title>
followed by the rest of the page, then on top of the page when it runs is;
Warning: session_start() [function.sessio n-start]: Cannot send session cookie - headers already sent by (output started at /home/********/public_html/login.php:1) in /home/********/public_html/login.php on line 9
Warning: session_start() [function.sessio n-start]: Cannot send session cache limiter - headers already sent (output started at /home/********/public_html/login.php:1) in /home/********/public_html/login.php on line 9
Yet, I can still write session data and read it..etc. And I get a warning still if I even try to kill the session...so I don't know. I've also tried putting the code after the page's <head> and retyping the command to right under the <?php command.
If ANYONE can help me, it would be a godsend.
Thank you.
Comment