Click here to Skip to main content
15,886,072 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Password Storage Class Pin
908236519-Jun-12 5:29
908236519-Jun-12 5:29 
GeneralRe: Password Storage Class Pin
flinchy321-Jun-12 4:17
flinchy321-Jun-12 4:17 
GeneralRe: Password Storage Class Pin
908236521-Jun-12 5:30
908236521-Jun-12 5:30 
GeneralRe: Password Storage Class Pin
908236522-Jun-12 10:39
908236522-Jun-12 10:39 
GeneralRe: Password Storage Class Pin
flinchy328-Jun-12 1:20
flinchy328-Jun-12 1:20 
GeneralRe: Password Storage Class Pin
flinchy328-Jun-12 1:25
flinchy328-Jun-12 1:25 
QuestionHow to get session state in VB.NET desktop app Pin
ilgrongo18-Jun-12 3:38
ilgrongo18-Jun-12 3:38 
AnswerRe: How to get session state in VB.NET desktop app Pin
Dave Kreskowiak18-Jun-12 10:53
mveDave Kreskowiak18-Jun-12 10:53 
There is no such thing as a Session in a desktop app.

You can create your own implementation of this though. Your logins would have to be stored in a database of some kind. Off the top of my head, the application sends the username and password to your server code when it is authenticated. If it passes authentication, it sends back a GUID that is also logged into the database as being an active login.

Once you have that data, your other app can request all the active logins from the database.

Your server code will also have to implement a logout method to remove the GUID passed to the client. The client could just pass the GUID to let it know it wants to log out.

Your server code will also have to maintain the active login database by clearing out stale records where a timeout value has expired. Theis prevents the database from being loaded up with dead login data where the client logged in, but never logged out for some reason.

GeneralRe: How to get session state in VB.NET desktop app Pin
ilgrongo18-Jun-12 13:04
ilgrongo18-Jun-12 13:04 
GeneralRe: How to get session state in VB.NET desktop app Pin
Dave Kreskowiak18-Jun-12 14:51
mveDave Kreskowiak18-Jun-12 14:51 
GeneralRe: How to get session state in VB.NET desktop app Pin
ilgrongo18-Jun-12 19:52
ilgrongo18-Jun-12 19:52 
QuestionWindows 7 Lock app Pin
flinchy316-Jun-12 2:42
flinchy316-Jun-12 2:42 
AnswerRe: Windows 7 Lock app Pin
Dave Kreskowiak16-Jun-12 3:42
mveDave Kreskowiak16-Jun-12 3:42 
GeneralRe: Windows 7 Lock app Pin
flinchy316-Jun-12 16:21
flinchy316-Jun-12 16:21 
GeneralRe: Windows 7 Lock app Pin
Dave Kreskowiak16-Jun-12 17:26
mveDave Kreskowiak16-Jun-12 17:26 
AnswerRe: Windows 7 Lock app [fixed] Pin
Eddy Vluggen16-Jun-12 10:38
professionalEddy Vluggen16-Jun-12 10:38 
GeneralRe: Windows 7 Lock app Pin
Richard Andrew x6416-Jun-12 10:57
professionalRichard Andrew x6416-Jun-12 10:57 
GeneralRe: Windows 7 Lock app Pin
Eddy Vluggen16-Jun-12 11:11
professionalEddy Vluggen16-Jun-12 11:11 
GeneralRe: Windows 7 Lock app [fixed] Pin
flinchy316-Jun-12 16:48
flinchy316-Jun-12 16:48 
AnswerRe: Windows 7 Lock app [fixed] Pin
Eddy Vluggen17-Jun-12 0:06
professionalEddy Vluggen17-Jun-12 0:06 
GeneralRe: Windows 7 Lock app [fixed] Pin
flinchy318-Jun-12 3:12
flinchy318-Jun-12 3:12 
GeneralRe: Windows 7 Lock app [fixed] Pin
Eddy Vluggen18-Jun-12 6:23
professionalEddy Vluggen18-Jun-12 6:23 
AnswerRe: Windows 7 Lock app Pin
Richard MacCutchan16-Jun-12 21:49
mveRichard MacCutchan16-Jun-12 21:49 
GeneralRe: Windows 7 Lock app Pin
Dave Kreskowiak18-Jun-12 2:06
mveDave Kreskowiak18-Jun-12 2:06 
GeneralRe: Windows 7 Lock app Pin
flinchy318-Jun-12 3:15
flinchy318-Jun-12 3:15 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.