title: how to use session to avoid some user to view some pages?
body: <p>Thank You very much for answer my question, because i am very new in asp.net, I am really appreciated</p>
  
  <p>I have a Session to identity the user in the controller</p>
  
  <pre><code>    Session["UserId"] = UserNo;
      Session["UserType"] = UserType;
  </code></pre>
  
  <p>What can i do to avoid the User such as the Session["UserType"] is "3" and then avoid him/her to login to some web pages?</p>
  
  <p>I need to control that in the controller, view of filter config?</p>