Re: Options on session control in a web application

From: Shakespeare <>
Date: Sun, 3 Aug 2008 12:13:10 +0200
Message-ID: <489584ba$0$49839$>

"Ed Prochak" <> schreef in bericht
> Connected to:
> Oracle9i Enterprise Edition Release - 64bit Production
> With the Partitioning and Oracle Data Mining options
> JServer Release - Production
> Showing my lack of User interface application skills here.
> We have web applications built with PL/SQL. The goal is to develop a
> simple timing application. When the user enters the fist screen, make
> a log entry which include the time. When they exit that screen, note
> how they exited (e.g. OK or CANCEL button pressed) and update the log
> with a stop time. Given the stateless nature of HTML, what's the best
> practice to deal with this situation?
> Use a cookie?
> Use hidden HTML form fields?
> Other?
> I feel so dumb.
> ed

Your approach may fail when a user exits the application just by closing his browser, or chooses a shortcut that opens in the same browser window. We had the same problem and decided to add some (basic) activity logging by adding log entries for more clickable items like links, buttons etc; not to monitor WHAT a user was doing, but WHEN. If a user closes his browser, a gap will be seen in the activity log. If he starts again, we assume the last activity as the time he left the previous session.

Shakespeare Received on Sun Aug 03 2008 - 05:13:10 CDT

Original text of this message