Hey below I get this error message the first time i Login.
Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /usr/local/apache/www/www.everto.com/htdocs/admin/dvdtemp3.php:2) in /usr/local/apache/www/www.everto.com/htdocs/admin/includes/functions.inc.php on line 96
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /usr/local/apache/www/www.everto.com/htdocs/admin/dvdtemp3.php:2) in /usr/local/apache/www/www.everto.com/htdocs/admin/includes/functions.inc.php on line 96
Below is my session statement:
session_cache_limiter('nocache');
session_start();
$_SESSION[admin_id] = $id;
$_SESSION[valid] = "YES";
$_SESSION[username] = $loginuser;
$_SESSION[pass] = $loginpassword;
Am I missing something? This works fine on another server but I think its PHP Version is slightly older, but should that make a difference? Any one know how to get rid of those warnings?
Thanks in advance
Session Warnings and cache_limiter warning
Moderator: General Moderators
-
EverToDesign
- Forum Newbie
- Posts: 10
- Joined: Sat Oct 11, 2003 9:38 am
-
Cruzado_Mainfrm
- Forum Contributor
- Posts: 346
- Joined: Sun Jun 15, 2003 11:22 pm
- Location: Miami, FL