joined:Nov 18, 2005
I'm trying to implement a URL redirect via ASP as we are not using Apache on our webserver. We're wanting to allow spiders to index pages behind a login screen and redirect browsers to a registration/sign-in page (we got the idea from an article on the IEEE website we ran across while doing some research). Below is the code placed before the html for the page, and also the error I keep getting. Any help is appreciated, as I'm fairly new to ASP.
Spidercheck = UCase(Request.ServerVariables("http_user_agent"))
If Spidercheck = "GOOGLEBOT" Then
Microsoft VBScript compilation error '800a0400'
/online-training.asp, line 6