Preventing user from login after registration in asp.net register control
<p>I am using ASP.Net's Create User Wizard Control. </p>

<p>I want that once the user is created, that user should not be logged in. Users cannot register themselves, only a host user can add them. </p>

<p>What happens is, once the user is registered, the host account is logged out and the user whose account is created, is being logged in. </p>

<p>So I want the new user to not be logged in once they are created. </p>

<p>I tried the properties below of the Create User Wizard Control</p>

<ul>
<li>Added <code>DisableCreatedUser="True"</code> Property so that the user is disabled after registration</li>
<li><code>LoginCreatedUser="False"</code></li>
</ul>

<p>This works, user is not directly logged in after registration, but if page is refreshed, the user gets logged in and host is logged out.</p>
