there's no need to invalidate the session, since it'll disappear from the
server after a time. However, if you would need doing it, it could can be
done with client (i.e.:JavaScript) code, since it resides in the server.
Only server java code inside a jsp can do it.

-----Mensaje original-----
De: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]En nombre de Lorena Carlo
Enviado el: Wednesday, November 29, 2000 4:18 PM
Para: [EMAIL PROTECTED]
Asunto: a doubt on sessions


Hello all,

I have a doubt on session, can any body tell me if it is necesary to
invalidate a session when the user  presses a button that have a the
following javascript code:   "javascript:window.top.close()", that closes
the browser window?.

If I have to invalidate the session, how can i do it with javascript, i can
not use the method invalidate of the HttpSession object because I am using
html for the menues and not jsp, what can I do in that case.

Thanks in advace

Lorena

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to