Page 1 of 1 1
Topic Options
#121076 - 2004-06-11 04:21 AM Disable automatic logoff if script closed by user
AlexB Offline
Lurker

Registered: 2004-06-11
Posts: 3
Hi.

When running a script, if the user closes the window (with the X) it will force the user to log off. Is there a way to prevent this?

Alex

Top
#121077 - 2004-06-11 04:33 AM Re: Disable automatic logoff if script closed by user
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
Yes
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#121078 - 2004-06-11 05:28 AM Re: Disable automatic logoff if script closed by user
Radimus Moderator Offline
Moderator
*****

Registered: 2000-01-06
Posts: 5187
Loc: Tampa, FL
What Les is eloquently saying it that it is in the manual.

_________________________
How to ask questions the smart way <-----------> Before you ask

Top
#121079 - 2004-06-11 05:49 AM Re: Disable automatic logoff if script closed by user
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
...the command reference starts on page 29 of the KiX 4.22 manual and it is the third command referenced.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#121080 - 2004-06-11 11:52 AM Re: Disable automatic logoff if script closed by user
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
also using wkix32 instead of kix32 removes this behavior.
and it's NOT in the manual.
_________________________
!

download KiXnet

Top
#121081 - 2004-06-11 02:20 PM Re: Disable automatic logoff if script closed by u
AlexB Offline
Lurker

Registered: 2004-06-11
Posts: 3
Thanks for answering my easy, 'rtfm' question.

It actually occurred to me this morning that it could be the break command. I didn't really put much thought into it before I asked.. I was hoping for a way to prevent the window from being closed, but not punishing the user with a logout if the user did succeed..

Anyways, break on is fine.

Alex




Top
#121082 - 2004-06-11 03:19 PM Re: Disable automatic logoff if script closed by u
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
not really...
they will be bunished as they don't get mappings and you will be bunished as you must instruct them to logon again.

I'll say it again, you will be lost without wkix32.exe


just my 1B$
_________________________
!

download KiXnet

Top
#121083 - 2004-06-11 09:49 PM Re: Disable automatic logoff if script closed by u
AlexB Offline
Lurker

Registered: 2004-06-11
Posts: 3
I agree that the users MUST run the login script, but the way I have things set up, the users also run the login script when they connect over VPN or RAS even if they are already logged into the computer. I am doing this with a program I wrote to detect the connection and launch the script.

Although I would like to force them to run the script, having their computer log them out when they are in the middle of doing something is worse than the user having no drive mappings.. Of course this only applies to remote users calling in.

If I really want things to be done without user intervention, then I can use wkix like you suggested, or change my program to execute without a window.

Right now I am not concerned about it, but I will probably have to review it some time.

Alex

Top
Page 1 of 1 1


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

Who's Online
1 registered (Allen) and 1198 anonymous users online.
Newest Members
M_Moore, BeeEm, min_seow, Audio, Hoschi
17883 Registered Users

Generated in 0.06 seconds in which 0.028 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