Auto Log Out Question

G

Guest

Hi there,

Im currently writting an application which the user has to log onto, however
for obvious security reasons i would like the application to automatically
log out if there has been no activity for 10 mintues or so. I guess that it
would be no activity in the program rather than on the computer totally,
although eaither would be good. Does anyone know of any ways todo this or are
you able to point me in the correct direction.

Thankyou

Jim
 
O

One Handed Man \( OHM - Terry Burns \)

Are we talking a Backend WebService or Windows Security ?. You could place a
timer control on your form and set your form preview property to true and
capture the keypresses and clicks to reset your timer, the timer event would
then be used to log off



--
OHM ( Terry Burns ) * Use the following to email me *

Dim ch() As Char = "ufssz/cvsotAhsfbuTpmvujpotXjui/OFU".ToCharArray()
For i As Int32 = 0 To ch.Length - 1
ch(i) = Convert.ToChar(Convert.ToInt16(ch(i)) - 1)
Next
Process.Start("mailto:" & New String(ch))
 
G

Guest

Althought this would work it will use alot of processing time wont it and
slow down my machine and the application. Also im using an MDI application so
it could get complicated!! Are there no other ways of doing this?? Thanks for
your help so far anyway.

James
 
O

One Handed Man \( OHM - Terry Burns \)

U wont see degradation of speed with this method

--
OHM ( Terry Burns ) * Use the following to email me *

Dim ch() As Char = "ufssz/cvsotAhsfbuTpmvujpotXjui/OFU".ToCharArray()
For i As Int32 = 0 To ch.Length - 1
ch(i) = Convert.ToChar(Convert.ToInt16(ch(i)) - 1)
Next
Process.Start("mailto:" & New String(ch))
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top