I think I could track users activities if I could join wwSession.dbf and wwRequestLog.dbf tables with SessionId field. I tried to add SessionId field into wwRequestLog.dbf but I do not understand how to get SessionId value in wwServer.LogRequest function:
INSERT INTO (THIS.cLogFile) ; (TIME, QueryStr ,REMOTEADDR, Duration,Error,Script,MemUsed,ReqId,SessionId) ; VALUES (DATETIME(), ; lcParameter ,; lcRemoteAddress,; lnSeconds,llError,; lcExecutable,; SYS(1016),; lcReqId,SessionId)
Please, how to reference SessionId value at this level?
How to see wwSession object from wwServer?
If I create a Session object just before INSERT (m.Session=CREATEOBJECT("wwSession")) I see the m.Session.cSessionId property empty.
I would like to use this solution rather add a new function writing SessionID and users data at every hit, because I am afraid to slow the web application.
Thank you very much