Posted on: 9/20/2014 7:55:56 PM | Views : 428

Hello
I have a 'register new user form' in VB.NET, Register.aspx, and have introduced the default 'Log in' form from Solution Explorer to my project.
The Log in button now has this code:
<div class="form-group"><div class="col-md-offset-2 col-md-10"> <asp:Button ID=btnLogin runat="server" OnClick="LogIn" Text="Log in" CssClass="btn btn-default" /> </div> </div> I am not sure that this looks correct: OnClick="LogIn" because once the user has logged on, shouldn't he be taken to a Web page that is otherwise concealed as in: www.myHiddenPage.html?
In the accompanying Login.aspx.vb page, I have:
Imports Microsoft.AspNet.Identity Imports Microsoft.AspNet.Identity.EntityFramework Imports Microsoft.AspNet.Identity.Owin Imports ...

Go to the complete details ...