Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Multi User
Message
From
18/09/2015 08:05:04
 
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Title:
Environment versions
Environment:
VB 9.0
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01624690
Message ID:
01624770
Views:
47
You selected Web when you created this thread, but I see elsewhere that this is a WInForms app. You can try a trick I used with VFP. First rule. Don't set a logged in flag or store the workstation ID. You need something that cleans up after itself. Here's how it works:

When the user logs in, create a text file on the server. The user needs exclusive access to it. Store the filename in the DB. I put it in the user table, so it's associated with their login. Keep the file open exclusive while the user is logged in. If they log out, delete the file. If they crash or reboot, check the user table on login. If you can't open the text file, the user is still logged in.


>Hi Craig. Thanks for replying
>Don't know if this will help as users are not tied to workstation Id's
>Also, if somebody Ctrl,aLt,Delete, Ii Have stored a Worksation Id for the user, I will still think they are logged in if they have not exited gracefully from the system??
>
>Regards,
>Gerard
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform