NYCPHP Meetup

NYPHP.org

[nycphp-talk] Sessions

Christopher Hendry chendry at nyc.rr.com
Tue Jan 28 17:06:49 EST 2003


Howdy e.Dave -

probably not the right place for this question, but what this likely means
is that you're trying to start your session after you've already output
something to the browser.  session_start() should be the first function you
call in your code - and should be before any HTML.

contact me directly if you need more help.  C

-> -----Original Message-----
-> From: e_dave [mailto:drodriguez1 at mac.com]
-> Sent: Tuesday, January 28, 2003 4:26 PM
-> To: NYPHP Talk
-> Subject: [nycphp-talk] Sessions
->
->
-> Let's try that one more time, in plain text.
->
-> Can someone point me in the right direction?  I am writing what I think
-> is a fairly simple session authentication script, but I keep getting
-> the following error:
->
-> Warning :  Cannot send session cache limiter - headers already sent
-> (output started at /Library/WebServer/Documents/DSMetro/header.php:16)
-> in /Library/WebServer/Documents/DSMetro/frontpage.php on line 111
->
-> It sounds to me like the problem is due to the http headers at the top
-> of the page, but I don't know how best to handle this.  I don't want to
-> leave out the headers, right?
->
-> Your friendly neighborhood newbie.
->
-> e.Dave
->
->
->
-> --- Unsubscribe at http://nyphp.org/list/ ---
->
->
->





More information about the talk mailing list