Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

need sessions help... 2

Status
Not open for further replies.

admoore

IS-IT--Management
May 17, 2002
224
US
I have an authenticated user, successfully connected and viewing appropriate data...

I need the authenticated user to be able to follow a link to a new php url and maintain authentication...

I keep getting a

Warning: Cannot send session cache limiter -
headers already sent (output started at /usr/local/httpd/htdocs/detail.php:3) in /usr/local/httpd/htdocs/detail.php on line 4

Any ideas as to what I'm doing wrong would be appreciated...

TIA,

-Allen
 
You must send all headers before any content.

Headers are created by invoking the setcookie(), header(), and session_*() functions, among others.

Content includes all HTML output, errors and warnings from your script. Want the best answers? Ask the best questions: TANSTAAFL!
 
And often overlooked... any whitespace which precedes the opening php tag.

-Rob
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top