I have customer who purchased 20 seats running Navision 4.0 SP2
In the stores, receiving personnel are using WINDOWS LOGINS
At the home office, the users use DATABASE LOGINS
The issue is this.. 20 seats is plenty for concurrent access
However, certain job functions in the stores and home office, have people logging onto Navision, working for 5 minutes, and then doing nothing for 5 hours. This effectively takes up 1 seat uselessly..
What he wants is a way to log people off NAVISION if they have done anything for 15 minutes.
He knows how to do this in WINDOWS, but that will not free up the Navision Seat.
DOES ANYONE KNOW A WAY TO ACCOMPLISH THIS.
0
Comments
Create a single instance codeunit with timer and let it monitor the session table and delete records (Users) if they are inactive after a certain time.
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n
I didn't understand the answer. Did it solved the problem?
I am also desperately looking for a solution for this.
Currently, I keep one user LOGGED ON forever on the server, in case if we need to login to remove inactive users forcibly.
Maluwa
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
dataitem session table
filter Idle Time > 15 minuts
this makes it only look at idle sessions,
then in the onaftergetrecord
I have the command
Delete
that is it
run it in the job scheduler, so it runs on a regular bases and disconnects idle sessions.
Here is an example for Native 4.x version and up.
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n
Modify CU 1 function
NASHandler
Add the following code.
Start NAS with startup Parameter SESSIONMONITOR
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n
You can use it in Native if you are using NAV 4.00 and newer. Just in this versions you can disconnect users by deleting their session and you have the Idle Time field there...
And on SQL you can use it on older versions too, but you need to add the Idle Time into the session view and NAV able or create own session view based on the 4.00 version.
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.