User disconnect Problem

make

Member
Hi there,

i wrote a little Programm to disconnect a user specified by the user-id with the
proshut command.

But the database cant be found.
The client wich runs the disconnect programm doesnt know the path to the db on the server of course, but how can i set this path for the client, UNC Paths doesent work.

I tried:

OS-Command ("proshut \\server\db\sports.db -C disconnect user-Id"),

this wont work,

also:

OS-Command ("proshut sports.db -C disconnect user-Id")

wont work.

can anyone help me ??

Greets

make
 

make

Member
Doesnt work

Hi,

i tried your solution, but i got an error:

You cant disconnect a user from a remote machine Error: 2259

Greets Make
 
You might have to use AppServer and call your disconnect user program through it.

Or run a disconnect user process on the db machine that sits in a DO WHILE TRUE loop and checks for a control record with the userid(s) to kill.
 
Top