How to end a disconnected session gracefully as Admin?

G

Glenn

Hi,
Is possible for as administrator to gracefully close a disconnected user
session without knowing that user's password?

Resetting the session damages the database application running in the
users space.

If the user password is known, one could open a new tempory session
(sometimes our TS does not reconnect to the old one) and then connect to
the previous one. the app can be closed correctly, the session closed
and the temporaty session resetted (killed).
But as stated, only if the user's password is known. and asking each
user to give me his/her password defeats the needs for passwords.

I could implement the one-session script as described on this fine site
http://terminal.servebeer.com/php/single_logon_and_reconnect.php

but this relies on the user logging in again, which is sometimes not
possible as his internet connection could be down.


best regards
glenn
 
D

Dave N

Hi Glenn,

Does a "logoff" from TSAdmin damage the db app? (Not a session reset,
but a true logoff.) AFAIK, this ends a session pretty gracefully.

If that doesn't work for you, you might look for a way to first close
the db app gracefully, then log the session out. This could be an app
command that you can run as an admin, or maybe just ending the db
connection from the db server side would protect the data.

Ultimately, what you need is a way, as an admin, to launch a process
within another user's session (to close the app or logout gracefully).
Interesting question. I don't know if it can be done, but I'd love to
hear other's opinions.

-D
 
G

Glenn

Hello Dave,

thanks for replying.

Sadly, logoff does not work for me.
When closing, the db (access) app asks the user to compact the db. the
app wait indefinitely for an user input.
So, after a while, the logoff procedure kills the db process (marked as
not responding), once again damaging the db.

As the compact question is crucial for the welbeing of the db app, that
also can not be modified (practical reason)

Launching a process in another user's session: I suppose it can be done,
but I fear this will entail serious knownledge on the inner workings of
TS. I'll look into that

regards
glenn

Hi Glenn,

Does a "logoff" from TSAdmin damage the db app? (Not a session reset,
but a true logoff.) AFAIK, this ends a session pretty gracefully.

If that doesn't work for you, you might look for a way to first close
the db app gracefully, then log the session out. This could be an app
command that you can run as an admin, or maybe just ending the db
connection from the db server side would protect the data.

Ultimately, what you need is a way, as an admin, to launch a process
within another user's session (to close the app or logout gracefully).
Interesting question. I don't know if it can be done, but I'd love to
hear other's opinions.

-D
8<
 

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