RushiShroff
Programmer
This type of auto redirecting doesnt seem to be working.
Code : Global.asa
Code : Global.asa
Code:
Sub Session_OnStart
' Make sure that new users start on the correct
' page of the ASP application.
' Replace the value given to startPage below
' with the virtual path to your application's
' start page.
' Do a case-insensitive compare, and if they
' don't match, send the user to the start page.
MyHomePage="/index.htm"
RequestPage=Request.serverVariables("SCRIPT_NAME")
If not (STRCOMP(MyHomePage,RequestPage,vbTextCompare)=0) THEN
Response.Redirect MyHomePage
End If
End Sub