Sessions and Frames

From: Date: Thu, 18 Oct 2001 05:36:05 +0000
Subject: Sessions and Frames
Groups: php.db 
Request: Send a blank email to php-db+get-13450@lists.php.net to get a copy of this message
I have a site that is successfully using sessions and authentication. However, I am working on another site, and it uses Frames. The first site does not use frames, so including the unit that has the session stuff first works. But on the frames site, it gives the following error : 'Cannot add header information - headers already sent by ' I know that this is when something is trying to print before the session is started. I just don't know how to accomplish this if the page I am loading is inside a frame... so by the time the session stuff starts, html is already output to the browser. thanks for any help you can give.

« previous php.db (#13450) next »