Do you have cookies enabled?

On the close out question. You can use Javascript, put code in the document
close event. This code can trigger opening another page which then performs
the required operation. (the other page can then close itself in the open
event.) We have coded something similiar for an ASP app we built a while
ago, so I know, that it should work. At least in theory...
Other than coding a trick like this, you cant know when the using just shuts
the window. one of the disadvantages of a web application.

Casey Kochmer
[EMAIL PROTECTED]


>From: Angela Chow <[EMAIL PROTECTED]>
>Reply-To: A mailing list about Java Server Pages specification and
>     reference <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: session
>Date: Wed, 6 Sep 2000 16:43:56 -0700
>
>hi,
>
>i need some help with the session.  For some reason,
>the session id is not unique everytime i bring up the
>page when i use session.getId();  How do i make it
>unique? Another problem, i have to update the database
>when the user has logged out, i could do it when they
>click to the logout.jsp page, but what if they just
>close up the window.  How do i know that they close up
>the window and thus update the database?
>
>
>thanks in advance!
>
>angela
>
>
>__________________________________________________
>Do You Yahoo!?
>Yahoo! Mail - Free email you can access from anywhere!
>http://mail.yahoo.com/
>
>===========================================================================
>To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
>JSP-INTEREST".
>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

_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

Share information about yourself, create your own public profile at
http://profiles.msn.com.

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
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