Home > Not Working > Asp.net Loginstatus Control

Asp.net Loginstatus Control


it shows me the page which should not have been the case. Is they ANYTHING else I can try?? Insults are not welcome. protected void HeadLoginStatus_LoggingOut(object sender, LoginCancelEventArgs e) { Session.Clear();//It clears the session when the user logged out. this contact form

I changed the startup page to be a page in the root (which is where login.aspx exists) and now it works as expected. There isn't a whole lot you can do about it: the best approach is to open your site in a new window that doesn't have a back button. asked 3 years ago viewed 1266 times active 3 years ago Upcoming Events 2016 Community Moderator Election ends Nov 22 Related 686ASP.NET Web Site or ASP.NET Web Application?5ASP.Net logout code block24ASP.NET How? http://stackoverflow.com/questions/15786025/logout-button-doesnt-work-properly-in-asp-net

Asp.net Loginstatus Control

asp.net share|improve this question asked Mar 7 '13 at 6:26 user2142993 2717 if you are hitting back button then it will show you the page which is cached by works perfectly Rate this: Please Sign up or sign in to vote. I didn't know what's going on so I've setted up break points in both ButtonClick and PageLoad events. This makes your site vulnerable to a replay attack if a ' malicious user obtains a valid forms authentication cookie. ' To improve security when using a

Teenage daughter refusing to go to school Giving change in smaller denominations so customers can tip? When clicked the page does nothing, no refresh no redirect, nothing! // In .aspx Select all Open in new window 0 Comment Question by:DotNetChano Armistice Day Challenge Would the members of an online imageboard (or any community) be able to build a post-apocalytic society upon their reputation? I had my startup page set to a page in a sub directory and not in the root.

do not know what kind of issue is this. Solution 1 Accept Solution Reject Solution Use it in code behind HttpContext.Current.Response.Cache.SetCacheability(HttpCacheability.NoCache); HttpContext.Current.Response.Cache.SetNoServerCaching(); HttpContext.Current.Response.Cache.SetNoStore(); Session.Abandon(); Use it on head tag of aspx page