Mike Firkser
Rutgers '84
for (int i = today; i < endOfTime; i++) { code(); }
42
for (int i = today; i < endOfTime; i++) { code(); }
42
SCJP 1.2, OCP 9i DBA, SCWCD 1.3, SCJP 1.4 (SAI), SCJD 1.4, SCWCD 1.4 (Beta), ICED (IBM 287, IBM 484, IBM 486), SCMAD 1.0 (Beta), SCBCD 1.3, ICSD (IBM 288), ICDBA (IBM 700, IBM 701), SCDJWS, ICSD (IBM 348), OCP 10g DBA (Beta), SCJP 5.0 (Beta), SCJA 1.0 (Beta), MCP(70-270), SCBCD 5.0 (Beta), SCJP 6.0, SCEA for JEE5 (in progress)
SCJP 1.2, OCP 9i DBA, SCWCD 1.3, SCJP 1.4 (SAI), SCJD 1.4, SCWCD 1.4 (Beta), ICED (IBM 287, IBM 484, IBM 486), SCMAD 1.0 (Beta), SCBCD 1.3, ICSD (IBM 288), ICDBA (IBM 700, IBM 701), SCDJWS, ICSD (IBM 348), OCP 10g DBA (Beta), SCJP 5.0 (Beta), SCJA 1.0 (Beta), MCP(70-270), SCBCD 5.0 (Beta), SCJP 6.0, SCEA for JEE5 (in progress)
42
for (int i = today; i < endOfTime; i++) { code(); }
42
42
for (int i = today; i < endOfTime; i++) { code(); }
In a nutshell, each time the user leaves a page, this "utility" page is called, and the maxInactiveInterval is set to 10 seconds. If the server is not contacted within 10 seconds (i.e. with another page request) the session will be invalidated. So, if the user exits the browser, this page will be called before the current page is unloaded, effectively creating a 10-second "monitor" which will expire and hence the server may perform "clean up" duties.
for (int i = today; i < endOfTime; i++) { code(); }
Did you see how Paul cut 87% off of his electric heat bill with 82 watts of micro heaters? |