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
nishant ranjan
NA
390
0
Updating database on session expire
Jul 18 2011 7:25 AM
1. I want to update database as soon as my session expires/timeout.
2. And when browser is closed.
I have table login_detail with field login_sts. when someone logs in value changes to 1 and when someone loges out value changes to 0. my problem is that if smone logs in, but doesnt signout and his session expires or he closes the browser, still login_sts will contain value 1(as he has nt loged out).
I want to update value on session expire or close of browser.
I tried to update it on session_end in global.asax, but failed.
and could not code for browser close update.
Reply
Answers (
1
)
Login with gmail into my site
Auto Generate Customer ID