The back button "works" because that is a browser functionality. Your page probably loads from the browser cache. Try to turn off browser caching and then report back.
On Nov 6, 9:14 am, Suraj <[email protected]> wrote: > Hi friends, > I am using Asp.net 2.0 login control. When the user logs out, he gets the > Login page, but still when he hits back button, it goes back to > application. > > I have written the below event in logout event. > > FormsAuthentication.SignOut(); > Session.Abandon(); > FormsAuthentication.RedirectToLoginPage(); > Response.Redirect(FormsAuthentication.LoginUrl); > > Can you please help me in this regard. > > Regards, > Suraj -- You received this message because you are subscribed to the Google Groups "DotNetDevelopment, VB.NET, C# .NET, ADO.NET, ASP.NET, XML, XML Web Services,.NET Remoting" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/dotnetdevelopment?hl=en?hl=en or visit the group website at http://megasolutions.net
