469,317 Members | 2,009 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,317 developers. It's quick & easy.

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

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
%>
Oct 25 '08 #1
0 1236

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

6 posts views Thread by Lou | last post: by
1 post views Thread by Tony | last post: by
1 post views Thread by Gavin Jacobs | last post: by
5 posts views Thread by Segfahlt | last post: by
3 posts views Thread by Asaf | last post: by
2 posts views Thread by brigitte | last post: by
reply views Thread by harlem98 | last post: by
1 post views Thread by Geralt96 | last post: by
reply views Thread by harlem98 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.