Hi,
To retreive logon and logout time from web server, you need to configure AAA HTTP server (even if you don't want to authenticate on this server)
parameters must be contained in HTTP cookie.
After the HTTP auth, you can obtain values with following variable assign:
session.custom.starthour =
expr { [lindex [regexp -inline {starthour=([^;\\\r]*)} [mcget session.http.last.response_cookie]] 1] }
session.custom.endhour =
expr { [lindex [regexp -inline {endhour=([^;\\\r]*)} [mcget session.http.last.response_cookie]] 1] }
If your HTTP server does not include informations in cookies, you can use a virtual server (with irule) between APM and HTTP server to insert expected format in response.