Hello alll,

I am using three frames on my site. The left and the main frame have all the dynamic content in it. My login module is embedded in the leftFrame. To check out the site please look here http://masterstream.com/dev/

Once the user logs in the site successfully the left frames shows the name of the user who is currently logged in. This ways a session variable is set and the end user can get to the protected areas of the site. Also, on the left frame there is are links to 'logout' and 'edit profile' which enable additional methods for the logged in user.

If the user clicks the 'edit profile' button in the left frame, the complete profile is depicted in the main frame. Also this edit profile page has a 'logout' link as well.


My question is that when I click the 'logout' button in the left frame, the session is killed and the user is informed that 'he is logged out' in the left panel. Also the login module is redisplayed in the left panel. This works fine. However the mainFrame, stays the same way... ;-) if the user profile page was open in the mainFrame then on logging out using the ink in the leftFrame, the mainFrame page should also show that the user had now logged out.


This should be true in the reverse scenario. If the user were to click the logout button in the mainFrame, it should show that the user had now logged out successfully. Also it should trigger the logout script in the leftFrame.

So the question is: Can I make a call to 2 logout scripts one each in the mainFrame and the leftFrame using a single click event in either frame. Thanks in advance.

regards
Pushpinder Singh

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to