I use LoginControl for login into my website in asp.net, but when for logout use login status or session.Abandon or .sign out ,there’s white backspace, my homepage is loaded and its not secure.
Please help me that use realy logout in my project.
I found a solution that I use in my master page
if (Membership.GetUser() != null) ..... else Response.Redirect("Login.aspx")
and codebehind for logout button:
Thanks for your help!
Answered By – mirza
Answer Checked By – Marie Seifert (BugsFixing Admin)