by Dave
Sat 12 January 2008 @ 21:43
If Not Roles.IsUserInRole("administrator") Then
Session("AccessDenied") = True Forms
Authentication.SignOut()
Response.StatusCode = 403
Response.Redirect("/errorpages/401.aspx?page=nothing.aspx")
End If
Going through a complete review, and I still can't find why I used a session variable here.