asp_web_howto thread: Restricting URL requests
Am creating an Intranet and would like to know how to prevent users typing URLs into the address line. I want to restrict them to following links I have created. Any ideas how to do it? cheers, Nik
hi
you can use the log utility (ActiveXObject "MSWC.IISLog") and it's
"Referer" property to see which page caused the user to get to this page.
if it's empty, you know that the user typed the address.
set log=Server.CreateObject("MSWC.IISLog")
if log.Referer="" then 'whatever you wanna do then
ps: i guess it only works with iis since the class name is iislog.
hope this helps you
simon
|





