scone.accesstracking
Class UserHandlingMeg
java.lang.Object
HttpGenerator
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
- a transfer is startet (filename = _start)
- the page was loaded (filename = _load)
- 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.
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 |
UserHandlingMeg
public UserHandlingMeg()
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)