How can I solve membership and respons.redirect()
<p>I implemented membership, and when users loging, I call this code:</p>

<pre><code> if (Membership.ValidateUser(txtUsern.Text, txtPass.Text))
    {
        string[] rol = Roles.GetRolesForUser(txtUsern.Text);

        string s = rol[0];
        DetectRoll(s);

    }
</code></pre>

<p>and it is DetectRoll(); function:</p>

<pre><code>switch (s)
    {
        case "manager":
            Response.Redirect("~/Manager/Manager.aspx");
            break;
        case "operator":
            Response.Redirect("~/Operator/Operator.aspx");
            break;
        case "user":
            Response.Redirect("~/User/User.aspx");
            break;
        default:
            break;
    }
</code></pre>

<p>problem is that Respons.Redirect() don't move me to typical Page.</p>

<p>web.config in master folder</p>

<pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
 &lt;configuration&gt; 
  &lt;system.web&gt; 
    &lt;authorization&gt; 
     &lt;allow roles="manager" /&gt; 
     &lt;deny users="*" /&gt; 
   &lt;/authorization&gt; 
  &lt;/system.web&gt; 
&lt;/configuration&gt;
</code></pre>

<p>please help, thank you.........</p>
