about session management

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
maktas
Forum Newbie
Posts: 1
Joined: Tue Jul 29, 2003 8:27 am

about session management

Post 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.
User avatar
twigletmac
Her Royal Site Adminness
Posts: 5371
Joined: Tue Apr 23, 2002 2:21 am
Location: Essex, UK

Post by twigletmac »

Moved to PHP - Normal.

(have a read of the stickies in this forum)

Mac
Post Reply