Log Out inactive user

acio
Member Posts: 24
Hi, all
Could someone help me? Navision must broke the connection after defined time of the inactive user. How can I do it?
Thanks
Could someone help me? Navision must broke the connection after defined time of the inactive user. How can I do it?
Thanks
0
Comments
-
If you are using 4.0 there is Idle time in session and if you delete the line in session, client is disconnected...
If you have pre 4.0 version, make technical upgrade to have same functionality as in 4.0 or seach for example ExpandIT solution (there are more "klient terminator" programs...) ;-)0 -
I am interested in the ability to disconnect a user as well. I went and looked at the DB session info and there was nothing in the Idle Time column yet it was connected.
Could you give a little more detail. Can it be disconnected based on a time limit. If so, where does this code need to go? Or is this for DB management and not accessible?
Thanks!SGM0 -
Hi,
I'm using 3.70 and Native DB. There is a table 2000000009 (Session), but no field - Idle Time. Session termination utils (3d party) - not very attractive way.
Thanks anyway, kine!0 -
I wrote: IF YOU ARE USING 4.0..... :!:
And than you must make your own module which will check this and disconnect the users...0 -
We use 3.60.
So with this version a solution is to use pskill.exe (www.sysinternals.com).
But has someone a better idea?0 -
What about C/SIDE (technical) upgrade to 4.00? After that you can use this new functionality...
Or use external programs like ExpandIT...
We have such a application too... It is version independent and disconnect the user if the imput is not active (keyboard, mouse) or the Navision window is not top window for some time (it is minimized or behind another application)...0 -
Eee......
I hoped that after I post a solution for the issue in Tips & Tricks people will search from there first
The link to the topic is here
http://www.mibuso.com/forum/viewtopic.php?t=5536dick11 wrote:We use 3.60.
So with this version a solution is to use pskill.exe (www.sysinternals.com).
But has someone a better idea?
I think that the pskill it not the best possible option - it will terminate the application, but sometimes it happens that the application is not "visible" but the license is still used. Also it is quite unconvinient to type in the computernames and process names or ID-s. I prefer selection from list given by tcpview.0 -
Urmas wrote:Eee......
I hoped that after I post a solution for the issue in Tips & Tricks people will search from there firstNo support using PM or e-mail - Please use this forum. BC TechDays 2024: 13 & 14 June 2024, Antwerp (Belgium)0 -
acio wrote:Hi,
I'm using 3.70 and Native DB. There is a table 2000000009 (Session), but no field - Idle Time. Session termination utils (3d party) - not very attractive way.
Thanks anyway, kine!
Where can I find the table 2000000009 (Session)? I'm using 3.6, but i ca see 2000000006 and next 2000000053 in object designer.0 -
Idle time - since 4.00 (may be used on 3.70 with MS SQL - only altering or creating new View with this info...)0
-
Dear Urmas
I had seen your trick but did not know what you have done.
Can you give us the changes you made in codeunit 1 so that this client does a disconnect?0 -
?
The tcpview is a 3-rd party tool what in fact does not have anything in common with Navision. So - in order to disconnect you do not need to do anything in cdu1
What did I do?
- I log in on a server what is running Navision Native database server service (usually throught terminal server client / Remote desktop)
- I run a copy of TcpView installed on that server
A list of connections is displayed
- I find a bunch of connections belonging to Navision server (they are all using the Navision port - either the default one or the one you specified in service startup). I also have a Navision icons displayed for these connections
- I select the connection what needs to be disconnected
- I click the right mouse button and select the connection termination command.
- I am happy
I mentioned the change in cdu1 to give you a hint where you can look if you want to develop some solution to get the idea what Navision user is using what connection. Once more - you do not need to use Navision at all to actually disconnect the users.
Naturally - it would be greately welcomed if anyone wrote a navision code what could call rexec and run the some program in the server what would kille the correct connection ... but again in the days of deletable sessions in 4.0 - why bother?0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions