Connecting Tech Pros Worldwide Forums | Help | Site Map

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

daddywhite
Guest
 
Posts: n/a
#1: Oct 25 '08
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