authorization via url checking
<p>i have a table <strong>USERS</strong> with 3 columns:
<strong>userid,username,password</strong>.</p>

<p>Then  table <strong>Menu</strong> with columns: <strong>id,url,canview</strong></p>

<p>How do i check a url on page load to verify if a user is allowed to view that url in asp.net &amp; C#?
i.e if canview = yes ,user can view, else redirect to no access page.</p>
