Connecting Tech Pros Worldwide Help | Site Map

Re: If user doesn't have file permission to acceess xyz.asp, redirectthem

  #1  
Old October 25th, 2008, 03:25 PM
daddywhite
Guest
 
Posts: n/a
At very top of your restricted ASP page:

<%
If Session("UserAllowed") = True Then 'OR SIMILARLY
SOME CHECK BASED ON IP, OR DATABASE DATA LOGINS OR WHETEVER
Response.Redirect "/sorry_not_allowed.asp"
End If
%>
Closed Thread