Hi,

Wednesday, March 10, 2004, 1:49:14 AM, you wrote:
PS> Hello alll,

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

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

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


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

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

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

PS> regards
PS> Pushpinder Singh


Make the logout link back to the overall page(the one that specifies
the frames) and kill the session there and just let the frames reload
and the session will be dead for them.

-- 
regards,
Tom

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

Reply via email to