PC Review


Reply
Thread Tools Rate Thread

Auto Log Out Question

 
 
=?Utf-8?B?SmFtZXMgUHJvY3Rvcg==?=
Guest
Posts: n/a
 
      19th Oct 2004
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
 
Reply With Quote
 
 
 
 
One Handed Man \( OHM - Terry Burns \)
Guest
Posts: n/a
 
      19th Oct 2004
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



 
Reply With Quote
 
=?Utf-8?B?SmFtZXMgUHJvY3Rvcg==?=
Guest
Posts: n/a
 
      19th Oct 2004
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

"One Handed Man ( OHM - Terry Burns )" wrote:

> 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

>
>
>

 
Reply With Quote
 
One Handed Man \( OHM - Terry Burns \)
Guest
Posts: n/a
 
      20th Oct 2004
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))
--


"James Proctor" <(E-Mail Removed)> wrote in message
news:2F282851-107B-4A79-B8E5-(E-Mail Removed)...
> 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
>
> "One Handed Man ( OHM - Terry Burns )" wrote:
>
>> 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

>>
>>
>>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Help with an auto run question stump Windows Vista General Discussion 1 19th Feb 2008 08:24 PM
Auto filter question =?Utf-8?B?TGltZQ==?= Microsoft Excel Programming 7 30th Dec 2005 03:35 AM
Question on Auto-Starting/Auto-Running a PPT Presentation none Microsoft Powerpoint 2 27th Oct 2004 10:57 PM
auto bcc question -keevill- Microsoft Outlook Discussion 1 11th Aug 2004 09:28 AM
Auto Log Off question JR Windows XP General 1 2nd Apr 2004 02:44 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:42 PM.