Hi i am using the below code to close the window and i l get promt when click on 'X' button on ie browser with OK and Cancel buttons.
if i click ok window will be closed, if i click cancel window wont close.
what i need is if i click ok also it should perform as a cancel and the window should not close.
thanks in advance.
[HTML]<SCRIPT FOR = "window" EVENT = "onbeforeunload">
event.returnValue = "If you wish to keep this session alive, click the cancel button, open another browser window, and repeat your action.";
</SCRIPT>[/HTML]