Page 1 of 1

about session management

Posted: Tue Jul 29, 2003 8:27 am
by maktas
Hi. I use "require(db_connect.inc)" directive at the top of the code page. Because I create special functions library(one of them is "db_connect.inc") to write effective codes and I use "session_start" function in the same page to pass variables another pages. But when I try the code I get error that " cannot modify header information-headers already sent by(db_connect.inc ......). What is the cause of this error message and what is the solution. Please help.

Posted: Tue Jul 29, 2003 9:13 am
by twigletmac
Moved to PHP - Normal.

(have a read of the stickies in this forum)

Mac