|
rikki -> RE: IIS 5.1 to work with asp pages (8/30/2005 0:08:46)
|
Login script: <%
'//@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
'// Basic Access level redirection file
'//
'// If the user has an AccessLevel different than specified,
'// the user will then be redirected to login.
'//
'//@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
If (Session("Accesslevel")) <> "4" AND (Session("Admin")) &""="" Then
'// Note here, we are redirecting to the root directory ("/") and looking
'// for the file "login.asp"
'// If your login file is not in the root or named differently, this will
'// need to be changed
'// Do not change the code "&Request.Servervariables("URL")"
Response.redirect "/campbookings1/RANGERS/login.asp?Redirect=" &Request.Servervariables("URL")
End if
%> spooky is a sub folder of campbookings1..
|
|
|
|