Forms Authentication for different roles?
<p>I am developing a website in which I'm using forms authentication.
We have 2 log in pages: one for user, another for admin.</p>

<p>I added this code into webconfig file for user.</p>

<pre><code>&lt;forms loginUrl="Login.aspx"  defaultUrl="Home.aspx" &gt;
</code></pre>

<p>I am using this code for user side when user successfully logged in.</p>

<pre><code>FormsAuthentication.RedirectFromLoginPage (UserName.Text, chkPersistCookie.Checked)
</code></pre>

<p>I am not using the default user membership database. I have my own database in SQL Server 2005.</p>

<p>I want same thing for admin, but the default url is Admin.aspx &amp; login url is adminlogin.aspx for admin.</p>

<p>How can i assign in web config file for admin? Is it the right way to do that or any one have some better concept for that?</p>
