Just an FYI to anyone upgrading your app from an earlier copy of WC - if you delete your current copy of wwrequestlog the app will rebuild the file using the new format. Otherwise it will continue using the old structure.
--stein
Just an FYI to anyone upgrading your app from an earlier copy of WC - if you delete your current copy of wwrequestlog the app will rebuild the file using the new format. Otherwise it will continue using the old structure.
--stein
Looks like you have a slightly dated version of Web Connection. The current log format is:
CREATE TABLE (THIS.cLogFile) FREE ; ( ; TIME T ,; REQID C(20),; Script c(50) ,; QueryStr M ,; REMOTEADDR C(16) ,; Duration N (5,2),; MemUsed C (8) ,; ERROR L ,; REQDATA M,; Browser M,; Referrer M,; Result M )
The Result property isn't used however - it's more of a debug thing that allows applications to optionally log this information on their own if they choose.
FWIW, you can override this method in your own wwServer class (yourAppServer.prg) and create any log structure you like. You can then also override the other log functions to log other information that might be useful to you. However, getting at the response is a bit difficult since it may not be in a string.
+++ Rick ---
What is the field used for? wwrequestlog.respone Can I use it for my app purposes to log my own application stuff?
CREATE TABLE (THIS.cLogFile) FREE ;
( ;
TIME T ,;
REQID C(20),;
Script c(50) ,;
QueryStr M ,;
REMOTEADDR C(40) ,;
Duration N (5,2),;
MemUsed C (8) ,;
ERROR L ,;
REQDATA M,;
Browser M,;
Respone M )
Thanks,
Joy