clintonG
Fri Aug 13 10:22:40 CDT 2004
That was helpful Mike but the OP sounds as if a number of IP
addresses need to be blocked. Your code as written will not scale.
The OP should provide additional commentary to confirm, deny
or clarify (what, how and why) and a refined solution may be possible
to provide without a laborious effort that would otherwise require
compensation.
--
<%= Clinton Gallagher, "Twice the Results -- Half the Cost"
Architectural & e-Business Consulting -- Software Development
NET csgallagher@REMOVETHISTEXTmetromilwaukee.com
URL
http://www.metromilwaukee.com/clintongallagher/
"Mike Mueller" <MikeMueller@ecinet.net.net> wrote in message
news:e0MnepTgEHA.1188@TK2MSFTNGP11.phx.gbl...
> Jann,
> Here is a snip from my default.asp page which redirects
> machines on my LAN to a page that has no tracking or hit
> counter on it.
> ----------------------------------------------------------------
> <%
> ' redirects work computer away from page with site tracking
>
> dim strIPAddress, strIPAddressShort
> strIPAddress = Request.ServerVariables("Remote_Addr")
> strIPAddressShort = left (strIPAddress, 7)
>
> if strIPAddressShort = "192.168" then
> response.redirect "default2.asp"
> End If
> %>
> ----------------------------------------------------------------
> HTH,
> Mike
>
>
> Kevin Spencer wrote:
> : Yes. It would require some custom server-side programming
> : in ASP, ASP.Net, or some less fabulous server-side
> : programming technology.
> :
> :
> : "jann" <jann@dial.pipex.com> wrote in message
> : news:uSjJGNRgEHA.3320@TK2MSFTNGP11.phx.gbl...
> :: Hi - is it possible to have an intro page which
> :: redirects to page A (and rest of site) for 99% visitors,
> :: but which redirects to page B for users from certain IP
> :: addresses?
> ::
> :: Thanks
>
>