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
AL MUBARAK
NA
50
50.9k
How to Capture Login and Logout Time and stored into in database using c#.net
Dec 24 2011 2:35 AM
Hi Guys,
The logic is simple. But i dont have an idea to implement it in c#.net application with correct step by step procedure. The thing is
When a user logs in via your login form you insert a new record with the userID & login date time (datetime.now). Now when the user clicks the logout button you set the logout datetime.
However if the session ends you will have to
a) figure out if the session is bound to a user,
b) submit your logout logic.
I have to shown The login Time also in Label field.
Anyhelp will be greatly appreciated.
Thanks
Mubarak
Reply
Answers (
2
)
Include function without any path
Adding more values by choose in the list