Well, I'm home now and it's an office project but maybe I can give a rough example anyway off the top of my head (it might not be letter perfect but you'll get the idea) but hopefully it will make some sense.
Each page has a form with some elements of various sorts, mostly checkboxes but there are some option tags and text tags too here and there. In this example, selectchoices.asp is the name of the same script in which the form exists:
[tt]<form action="selectchoices.asp" method="post">
<input type="Reset" name="mode" value=" Reset ">
<input type="submit" name="mode" value="Save Selections">
Select Choices
<input type=checkbox name="choice" value=1>Choice 1
<input type=checkbox name="choice" value=2>Choice 2
<input type=checkbox name="choice" value=3>Choice 3
Enter Something
<input type=text size=25 name=someinput>
</form>[/tt]
When submitted, it does something like this, which is actually in the script above the form tags but I put it below here to show the progression. On some pages, the input tag "name" is different but the "value" is the same, which will be a problem, but I'll cross that bridge when I come to it:
[tt]<% If request("mode"

= "Save Selections" Then
DataConn.Execute "INSERT into searchchoices (choice, SessionID) " &_
"VALUES (" & value & ", " & session.SessionID & "

"
Response.Redirect("mainsearch.asp"

End if %>[/tt]
The table writing done here gets deleted later on, and each script has it's own temp table - its contents are only there temporarily. I can't change this basic functionality (I inhereted it) but need to track usage carefully into another single table for all the pages. To do this additional logging, I'll be using some "insert into" lines similar to those above.
The information I need will be in the form of a single comma-delimited string to store in a table field, the purpose of which is to log what users did exactly on each page. Each form submission will add a new line to the table.
This string might look like the example below, which will tell me which check boxes were checked and what was entered in the text field. Because I will know what form they were on (I'm capturing that too), I'll know what these values mean:
[tt]1, 3, 25000[/tt]
This will give us information more detailed than what the server's log can do and, as a small non-profit, we need this detailed information for the funding. Don
don@pc-homepage.com
Experienced in HTML, Perl, VBScript, PWS, IIS and Apache. Run OS/2 Warp 4, BeOS v5 and Windows NT/2000 (only when I have to!)