Closing browser using a Button
Hi, all
I have a frameset (frameset.asp) with 3 frames in it Top.aspx, Left.aspx and main.aspx
When a user click a button in left.aspx I want to either terminate the session (logout),
or just close the browser window.
I've tried this code in the click event handler of the button:
Response.Write("<script>window.close();</script>")
But for some reason it does not work..
Can anybody out there help me with this?
PS.I also have an ASP:Repeater in left.aspx does that cause any trouble?
Thanks!
------------------------
All help is Good help!
Regards
Michael
__________________
------------------------
All help is Good help!
Regards
Michael
|