Re: Sessions and Frames

From: Date: Fri, 19 Oct 2001 09:26:03 +0000
Subject: Re: Sessions and Frames
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-13524@lists.php.net to get a copy of this message
i don't think frames are the problem. check again if you printing anything in same frame before session_start(); "Tjaybelt" <TJayBelt@Yahoo.com> wrote in message news:20011018052724.57089.qmail@pb1.pair.com... > 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 (#13524) next »