Tech
Forums
Jobs
Books
Events
Live
Learn
More
Training
Interviews
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
1
Reply
How cockie time out like session time out in web.config file
Asma Siddiqua
Jun 24 2015 6:00 AM
483
Reply
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.
<script language='javascript' type="text/javascript">
function SessionTimeOuts() {
window.setTimeout("RedirectToLogin();", 1200000);
}
function RedirectToLogin() {
document.cookie = "StudentCookies=; expires=00:00:01; path=/";
alert(document.cookie);
window.location.href = '../LoginPage.aspx'
}
</script>
<body onload="SessionTimeOuts();">
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
1
)
Next Recommended Forum
C to C#
Pagination in datagridview when columns manually added