Logging out from a frame page entirely?

JavaScript and client side scripting.

Moderator: General Moderators

Post Reply
phpsmart
Forum Newbie
Posts: 6
Joined: Wed Jan 31, 2007 5:20 pm

Logging out from a frame page entirely?

Post 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?
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

The other page (script) should detect that they are no longer logged in, shouldn't it?
Post Reply