thisRequest=structNew();
thisRequest.thisClient=session.sessionid;
thisRequest.thisUser=session.user;
thisRequest.Referer=CGI.HTTP_REFERER;
thisRequest.IP=CGI.REMOTE_ADDR;
if(CGI.PATH_INFO is CGI.SCRIPT_NAME){
thisRequest.CurrentPage=CGI.SCRIPT_NAME;
}else{
thisRequest.CurrentPage=CGI.SCRIPT_NAME & CGI.PATH_INFO;
}
thisRequest.QueryString=CGI.QUERY_STRING;
thisRequest.ServerName=CGI.SERVER_NAME;
thisRequest.Prefix="http://";
if(CGI.HTTPS is "on") thisRequest.Prefix="https://";
thisRequest.UserAgent=CGI.HTTP_USER_AGENT;
thisRequest.defaultTimeout=30;