Iridium52
07-29-2005, 11:18 PM
I have the W3C validator button on every page of my site to show users that my site is valid HTML (hopefully). When the button is clicked for validation it creates a hit on my session counter (created with ASP). What I'd like to do is prevent the validator from creating a hit.
I tried something on the lines of this:
IF Request.ServerVariables ("remote_host")<>"w3c.org" THEN
rs("Counter") = rs("Counter") + 1
rs.Update
Session ("Counter")=True
END IF
I used this technique the successfully hide all my sessions from my computer at home but can't quite get it right to hide the validator's.
Any suggestions?
I tried something on the lines of this:
IF Request.ServerVariables ("remote_host")<>"w3c.org" THEN
rs("Counter") = rs("Counter") + 1
rs.Update
Session ("Counter")=True
END IF
I used this technique the successfully hide all my sessions from my computer at home but can't quite get it right to hide the validator's.
Any suggestions?