Ask a Question related to ASP.NET Security, Design and Development.
-
Terry #1
FormsAuthentication.SignOut() does not appear to remove authentication ticket
My applicaiton is using forms authentication. I want to have a logout button. Users initially go to page main.aspx. If it is the first time the have been there since opening the brower it takes them to the login.aspx page with does the following to authenticate:
FormsAuthentication.RedirectFromLoginPage(txtUser. Text, False)
Here they will go back to main.aspx and everything works O.K.
After transversing the site, the user clicks on logout which executes the following:
FormsAuthentication.SignOut()
Server.Transfer("Main.aspx")
The transfer hapens, but without asking for re-authentication, WHY?
If I shut down the browers and start again, going to "main.aspx", it asks for authentication. The end result I am looking for is to have the user click on logout and then be brought back to the site as if they were going there for the first time when opening their browser. The signout does not seem to be working in my scenerio.
Thanks,
Terry
Terry Guest
-
FormsAuthentication.SignOut() problem
Hi All, (thanks in advance for your time) I have a standard login.aspx page (UserName\Password). When the user successully sign in they are... -
FormsAuthentication.SignOut not working
Hello This SignOut code is not working, any ideas? TIA. public class logout : System.Web.UI.Page { private void Page_Load(object sender,... -
FormsAuthentication.SignOut() not working.
In my search to understand ASP.NET security, I went to www.asp.net and was looking at their beginner source code. Here is the link to the code that I... -
What is the purpose of FormsAuthentication.SignOut()?
MSDN documentation says: Removes the authentication ticket. That's it. Where does it remove the authentication ticket from (server /... -
FormsAuthentication.signout does not ??
I am using forms authentication to secure my pages. For my logout, I created a logout page with FormsAuthentication.signout is called at the...



Reply With Quote

