How cockie time out like session time out in web.config file?
have any coockie states in web.config file?
I tried like below in javascript but it not working at all opened pages, its working for one tab.
function SessionTimeOuts() {
window.setTimeout("RedirectToLogin();", 1200000);
}
function RedirectToLogin() {
document.cookie = "StudentCookies=; expires=00:00:01; path=/";
alert(document.cookie);
window.location.href = '../LoginPage.aspx'
}
Upendra Pratap ShahiPosted Jun 24, 2015, 7:31 AM