TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Asma Siddiqua
NA
23
5.6k
How cockie time out like session time out in web.config file
Jun 24 2015 6:00 AM
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();">
Reply
Answers (
1
)
C to C#
Pagination in datagridview when columns manually added