hi,
im new at asp.net programming. Recently i have designed a website. Website's menu is designed by html and css. Website will be accessed by only user name and password which I alredy designed by website administration tool in .net 3.5.
now I dont know the exact log out procedure. can any one help me with this?
im sorry my english is very poor.
Loading
Javeed M ShaikhPosted Oct 21, 2011, 9:11 AM
Please read this article to solve your problem:
http://www.c-sharpcorner.com/UploadFile/shivprasadk/2513/
Nibras RakibPosted Oct 21, 2011, 12:34 AM
Any suggestion?
Thank You
Javeed M ShaikhPosted Oct 20, 2011, 3:26 PM
Nibras RakibPosted Oct 20, 2011, 3:00 PM
Javeed M ShaikhPosted Oct 20, 2011, 1:49 PM
What type of login mechanism are you using? Typically it should have the following steps:
Session.Abandon(); // Abandon all the current user Session
//FormsAuthentication.SignOut(); // If you are using FormsAuthentication
Response.Redirect("yourdefault.aspx"); // redirect the user to the home page or default page of the site.
You can also delete any cookies or any temp storage you have.
Please do not forget to mark "Accepted Answer".