Page 1 of 1 1
Topic Options
#48026 - 1999-08-12 07:15 AM How to logoff a user?
Anonymous
Unregistered


How can we logoff a user after, let say, 12 hours? It seems that the single command : logoff(1) isn't enough...
I would be very appreciated if someone can give me some ideas or some advices... thanks!

Top
#48027 - 1999-08-17 08:43 AM Re: How to logoff a user?
Anonymous
Unregistered


Try using the macros, such as time or date.

IF @TIME < 3:00:00
TIME MUST BE DISPLAYED TO THE SECOND.

IF @TIME = 3:00:00
GOTO EVELOGOUT
ENDIF
EXIT

:EVELOGOUT
LOGOUT OR WHAT EVER THE COMMAND IS YOU ARE
WORKING WITH.

Top
Page 1 of 1 1


Moderator:  Glenn Barnas, NTDOC, Arend_, Jochen, Radimus, Allen, ShaneEP, Ruud van Velsen, Mart 
Hop to:
Shout Box

Who's Online
0 registered and 2312 anonymous users online.
Newest Members
fgarcia, Viginette, ManuvdWielNL, Sir_Barrington, batdk82
17889 Registered Users

Generated in 0.048 seconds in which 0.023 seconds were spent on a total of 12 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org