You must invalidate the session on the server side, 1 solution is:
Link <a href="close.jsp">exit</a> instead of <a href="window.close()">exit</a> 
 And in file close.jsp:
<%
   // put your code here to invalidate the session.
  ...
  // Print javascript to close the window.
  out.printl("<script language="javascript>");

  out.printl("window.close()");

  out.printl("</script>");

%>

 
  lisa ward <[EMAIL PROTECTED]> a écrit : Hi,

I have an exit link on my page that closes my app window when it is clicked, 
by calling the javascript method. I would like to be able to invalidate the 
user's session before the window is closed. Does anyone have any ideas how 
I can do this?

Thanks for your speedy response
Lisa

_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp


--
To unsubscribe, e-mail: 
For additional commands, e-mail: 



---------------------------------
Yahoo! Courrier -- Une adresse @yahoo.fr gratuite et en français !

Reply via email to