« Response to MYB - Logout procedures and its problems | Main | Response to Aparna's post »

Response to MapYourBuddies - And the big logout challenge !!

Joern,
I believe there is a problem with the code you posted in your blog (alternate solution to the logout issues you are having)

The doit() function is in the wrong place. It should be in the logout.html file ...since logout.html cannot access the doit() function (which is in the parent window) its not closing the popup. Infact, you don't need doit() funcition at all. There is a onSubmit event handler that you can use.

Add the following handler to the logout.html file (in the form element tag) and update us if you see a change.

onSubmit="setTimeout('window.close()',2000)"

Hope this helps !!

Archives

Recent Comments