Re: Options on session control in a web application

From: Ed Prochak <>
Date: Sun, 3 Aug 2008 13:09:18 -0700 (PDT)
Message-ID: <>

Shakespeare wrote:
> "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

Yeah we told the business folks that and they are okay with it. In fact they are somewhat emphatic that they only want to track certain events, not every link or window.

  Ed Received on Sun Aug 03 2008 - 15:09:18 CDT

Original text of this message