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))
--
"James Proctor" <(E-Mail Removed)> wrote in message
news:E3FA5248-7F07-4794-86B2-(E-Mail Removed)...
> 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
|