Robert
|
| Posted: 02/15/2002, 7:12 PM |
|
I'm creating a support application and would like to be able to capture details about the client, such as the OS, browser version, screen resolution, etc and insert that info into a table at the time of a trouble-report insert.
Any thoughts how to do this with CC ?
Thank you in advance !
|
|
|
 |
AudiTT @ MCI
|
| Posted: 02/15/2002, 7:52 PM |
|
Ok, I hope this helps.
First, you can build your data base with a few of the following fields.
Go to http://www.sanjoseweb.com/sjsvc/sv.asp for a list of server variables.
I am assumeing you are using ASP...
Now, in your form, let say you have a field called IPAddress.
In a before show event for the form add the following.
fldIPAddress = Request.ServerVariables(REMOTE_ADDR)
This will fill in the field during the load. Your field must be hidden and or a text box. If you make it a label, CC or ASP won't insert the data.
HTTP_USER_AGENT will display client browser..
If you want it to be automatic, I use a simple login to grap all the data, or you can get sneaky and add a custom insert to a Before Open command. I havent done this, but have seen some sites that have it figured out.
Cheers.. Bryan
|
|
|
 |
|