why?

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.

Categorised : Programming
Tagged with : ,


Add comment




  Country flag
biuquote
  • Comment
  • Preview
Loading


Johann Sebastian Bach's grave is here, along with the organ whose construction he advised on. Pretty awesome tbh :-)This is where US and Soviet forces met for the first time in world war two.Awesome awesome view from a restaurant on top of the Bastei!We had lunch in Meissen at the cafe in the famous porcelain factory, and ate from about €1000 worth of chinaA little light lunch and some wine...Dresden's famous frauenkirche, recently rebuilt after being destroyed in the second world war.