FormsAuthentication.SignOut(); not working
I am using role based form authentication,FormAuthentication .SignOut is not properly working I have given it in the User management page .After that I gave redirect to home page .code is being excecuted but not serving the purpose.If I click back it is directly showing the user pages without Authentication,Any body have some solution
private void signOut_Click(object sender, System.EventArgs e)
try use the loginview control, it will save you a lot of code and it works out of the box.
Cannot use login control as working with Asp1.0.I think Login control comes in Asp2.0
all form.authentication.signout does is release the user session from server memory. it is not going to prevent user from going back to the history pages (assuming history has cached in the browser).
there are few days to handle it, you can:
2) sign SSL (like online banking) and make sure history won't get cache.
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)