scone.accesstracking
Class UserHandlingMeg

java.lang.Object
  extended by HttpGenerator
      extended by scone.accesstracking.UserHandlingMeg

public class UserHandlingMeg
extends HttpGenerator

This meg creates the user logging entries in the access database.

If the user is unknown (no cookie ID to the host tracking.scone.de is set) a login screen is displayed

After the login, a cookie is set and from now on the userId from this cookie is used.

\n The meg is called when

  1. a transfer is startet (filename = _start)
  2. the page was loaded (filename = _load)
  3. the page was left (filename = _stop)
\n The correcconding JavaScript-Code is inserted by the JavaScriptAdder.
The JS-methods stop() and loaded() calls are inserted by the BodyEventAdder.
The onClick-events to all the Links can be added by the LinkEventAdder.


Constructor Summary
UserHandlingMeg()
           
 
Method Summary
 void addCookie(java.lang.String s, java.lang.String s1, java.util.Date date, java.lang.String s2, java.lang.String s3, boolean flag)
           
 void handleRequest(RequestEvent e)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UserHandlingMeg

public UserHandlingMeg()
Method Detail

handleRequest

public void handleRequest(RequestEvent e)
                   throws RequestRejectedException
Throws:
RequestRejectedException

addCookie

public void addCookie(java.lang.String s,
                      java.lang.String s1,
                      java.util.Date date,
                      java.lang.String s2,
                      java.lang.String s3,
                      boolean flag)