dotnetspider.com
Login Login    Register      

TutorialsForumCareer DevelopmentResourcesReviewsJobsInterviewCommunitiesProjectsTraining

Subscribe to Subscribers
Talk to Webmaster
Tony John

Facebook
Google+
Twitter
LinkedIn
Online MembersNwe Nwe
Raj.Trivedi
More...
Join our online Google+ community for Bloggers, Content Writers and Webmasters




Forums » .NET » ASP.NET »

How to update the value in database when system get shut down


Posted Date: 03 Jun 2009      Posted By:: Divya     Member Level: Silver    Member Rank: 0     Points: 1   Responses: 1



hi all

im using asp.net2.0,vb.net2.0 & sqlserver 2005.my OS is Win XP.
I have implemented single user login.means
if i loggedin with one username & pwd then value will get updated in DB as 1.
then no one can loggedin with above username & pwd & display msg as 'Already same user loggedin'.
if i properly logged out value will get updated in DB as 0.
till this no problem.

my problem is when power shut down or improper system shut down
value not getting updated in DB.
is it possible to update when my system get hanged, improper shut down.
or any other method to implement single user login

regards,
Divya




Responses

#384971    Author: Praveen      Member Level: Gold      Member Rank: 67     Date: 03/Jun/2009   Rating: 2 out of 52 out of 5     Points: 2

hi,

for preventing multiple logins you can try like this

http://www.eggheadcafe.com/articles/20030418.asp

hope that will help u



 
Post Reply

 This thread is locked for new responses. Please post your comments and questions as a separate thread.
If required, refer to the URL of this page in your new post.



Next : Using the menu control
Previous : How to do image slide show ? ......
Return to Discussion Forum
Post New Message
Category:

Related Messages



Follow us on Twitter: https://twitter.com/dotnetspider

Active Members
TodayLast 7 Daysmore...

Awards & Gifts
Email subscription
  • .NET Jobs
  • .NET Articles
  • .NET Forums
  • Articles Rss Feeds
    Forum Rss Feeds


    About Us    Contact Us    Copyright    Privacy Policy    Terms Of Use    Revenue Sharing sites   Advertise   Talk to Tony John
    Copyright © SpiderWorks Technologies Pvt Ltd., Kochi, India
    2005 - 2012 All Rights Reserved.
    .NET and other trademarks mentioned in this site belong to Microsoft and other respective trademark owners.
    Articles, tutorials and all other content offered here is for educational purpose only.
    We are not associated with Microsoft or its partners.