Wrox Home  
Search P2P Archive for: Go

  Return to Index  

access_asp thread: insert record on load page


Message #1 by jake williamson 28 <jake.williamson@2...> on Fri, 15 Mar 2002 13:53:45 +0000
hello!

i'm trying to build a hit counter that will insert the browser type, ip
address and date/time into an access database table. i dont want to display
the hits on the page (this is purely for feedback to our client).

is there any way to say 'insert these variables' eg:

<%= Request.ServerVariables("HTTP_USER_AGENT") %>
<%= Request.ServerVariables("REMOTE_ADDR") %>

into the db table with out using a form submission, eg say:

onload page, put the browser and ip information into these columns.

is this possible??

cheers,

jake

p.s. i've set up a 'tracker' on the site using the global.asa file that
shows a rough guide to active users and total visits - would this help out?


  Return to Index