Author: chandradev1 | Posted on: 12/19/2008 3:29:15 AM | Views : 338

hi friends

i have created one  page and there is one logout button, i have written the code for log out is

//Code For Logout of User
clsAdminUsers obAdmin = new clsAdminUsers(Request.PhysicalApplicationPath);
obAdmin._UserId = lblID.InnerText;

Application.Lock();
bool blnResult = obAdmin.LogoutUser();
Application.UnLock();
if (blnResult)
{
Response.Redirect("AdminLogout.aspx"); Go to the complete details ...