how to redirect user from login page to next page base on their Role in Asp.net C#
<p>I am using built-in asp.net Role and membership provider in my website.</p>

<p>when user login to my system they are redirected to hompage.</p>

<p>how should i code it. that when he click on login button page check its role and then decide where to redirect.
Suppose user login with name John and "john" is "Admin" then application Redirect him to AdminPanel.aspx and if User john is normal "RegUser" Role then redirect him into Home.aspx.</p>

<p>Thanks In advance........</p>
