How to exit from application when I click logout button.

My application has to be closed when i click logout button. I am not using servlets. When I click logout button the session should get invalidated and also the browser is to be closed.

I am using two framsets. Topframeset and bottom frameset. In the bottom frameset two frames are there. My logout button is in the html page of topframeset.

[354 byte] By [prashanthjanagamaa] at [2007-10-2 21:13:12]
# 1

Hi,

to complete your task you have to do tho things, first is to invalidate the session that is

session.invalidate();

& after that u need to call a fucntion in javascript which will close the browser that is

window.colse();

Message was edited by:

3biren

3birena at 2007-7-13 23:59:36 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 2
Thanks for your reply;Regards,Prashanth
prashanthjanagamaa at 2007-7-13 23:59:36 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...