Current location: Hot Scripts Forums » Programming Languages » PHP » Cannot send session cache limiter???


Cannot send session cache limiter???

Reply
  #1 (permalink)  
Old 11-20-03, 11:23 AM
egzz egzz is offline
New Member
 
Join Date: Nov 2003
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Unhappy Cannot send session cache limiter???

Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /home/globalpc/public_html/includes/vars.php:67) in /home/globalpc/public_html/admin/auth.inc.php on line 18

Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/globalpc/public_html/includes/vars.php:67) in /home/globalpc/public_html/admin/auth.inc.php on line 18

Warning: Cannot modify header information - headers already sent by (output started at /home/globalpc/public_html/includes/vars.php:67) in /home/globalpc/public_html/admin/auth.inc.php on line 61


Can anyone give advise....this happends only when im going to admin area, the main site is working fine....

Egil aka egzz
Reply With Quote
  #2 (permalink)  
Old 11-20-03, 12:53 PM
NeverMind's Avatar
NeverMind NeverMind is offline
Community VIP
 
Join Date: Aug 2003
Location: K.S.A
Posts: 2,257
Thanks: 0
Thanked 2 Times in 1 Post
Quote:
Note: If you are using cookie-based sessions, you must call session_start() before anything is output to the browser.
quoted from PHP manual ..

if you want to use anything relative to Header .. call it before any outputs ..
some of function that can NOT be called after anyout put :
PHP Code:

header();

set_cookie();
session_start(); 
__________________
PHPSimplicity
We don't need a reason to help people - Zidane [FF9]
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
session help darkcarnival PHP 5 05-09-05 12:40 AM
Script to send to all userID of a particular domain. etegration Script Requests 2 11-28-03 05:27 AM
Cannot send session cache limiter??? warsome PHP 3 11-18-03 05:17 AM
Howto send asynchonous POST?! matsnas ASP 3 08-21-03 09:55 AM
send email via local intranet superman PHP 3 06-29-03 12:20 PM


All times are GMT -5. The time now is 05:56 AM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.