> > -----Original Message----- > > From: TJayBelt <[EMAIL PROTECTED]> > > To: [EMAIL PROTECTED] <[EMAIL PROTECTED]> > > Date: Thursday, October 18, 2001 8:28 AM > > Subject: [PHP-DB] Sessions and Frames > > > > > > >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.
My only thought is, where are you trying to start your session in the frames? Are you trying to start the session in the "hidden" frame or in one of the visible frames? If the attempt is in a visible frame then there has already been headers sent to start the "hidden" frame. -- Raquel ============================================================ Finish each day and be done with it. You have done what you could; some blunders and absurdities have crept in; forget them as soon as you can. Tomorrow is a new day; you shall begin it serenely and with too high a spirit to be encumbered with your old nonsense. --Ralph Waldo Emerson -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]