Page 1 of 1

Logging out from a frame page entirely?

Posted: Tue Feb 27, 2007 9:18 am
by phpsmart
Recently i'm trying to design a php chatroom...
I use mysql insert commands to insert the message into the database and select commands to retrieve the data, in this project i was forced to use frames in order to let the form used to submit messages in a seperate page and the displayed messages in another page with a (meta-tag) used to refresh that page only without the page containing the form used to submit messages...
The problem occured when i tried to design a logout button to exit the chatroom ;
the problem is that if i made this logout button in the form page it will only log me out of the form page and the displaying page remains still in the frame and vice versa...
So how can i logout of the frame page entirely?

Posted: Tue Feb 27, 2007 9:53 am
by feyd
The other page (script) should detect that they are no longer logged in, shouldn't it?