s_mokhtari
شنبه 06 شهریور 1389, 19:19 عصر
با سلام
دوستان براي خروج يه لينك باتن گذاشتم اين كدي كه داخل سايت پيدا كردم
Response.Cache.SetNoStore();
Response.Cache.SetAllowResponseInBrowserHistory(fa lse);
Response.Cache.SetCacheability(HttpCacheability.No Cache);
System.Web.Security.FormsAuthentication.SignOut();
System.Web.Security.Roles.DeleteCookie();
Session.Clear();
System.Web.Security.FormsAuthentication.RedirectTo LoginPage();
RedirectToLoginPage(); اين چه صفحهاي كه بايد تنظيم كنم
بايد توي كنترل لوگين تنظيم انجام بدم
ممنون:چشمک:
دوستان براي خروج يه لينك باتن گذاشتم اين كدي كه داخل سايت پيدا كردم
Response.Cache.SetNoStore();
Response.Cache.SetAllowResponseInBrowserHistory(fa lse);
Response.Cache.SetCacheability(HttpCacheability.No Cache);
System.Web.Security.FormsAuthentication.SignOut();
System.Web.Security.Roles.DeleteCookie();
Session.Clear();
System.Web.Security.FormsAuthentication.RedirectTo LoginPage();
RedirectToLoginPage(); اين چه صفحهاي كه بايد تنظيم كنم
بايد توي كنترل لوگين تنظيم انجام بدم
ممنون:چشمک: