Hi everybody,,,,
I have to generate a code which will check the Idle Time (total of the time, when user is not using the navision) of the user. And kill the session of the user if it goes above thatn Idle time defined.
As i found that, when user is in log in mode; all information is maintained in "SESSION" table (virtual table). But now i can't understand what to do firther to achive the above goal...
PLEASE HELP
0
Comments
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
how i will come to know that user is over limit....
during login mode , i see that "idle time" filed of session table.is not having any value .
Please give the step wise solution if possible...
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!
Aren’t you referring to TCP timeout defined in Windows? Navision doesn’t have a timeout.
Freelance Dynamics AX
Blog : http://axnmaia.wordpress.com/
Schrodinger's Cat.
Which version you're using? Version 4.0 there's Idle Time in the session table.
Rgds,
Jon.
Jon.
To run the server:
then simply connect two clients, change the protocol in the open dialog to TCP and chose localhost as the server.
Beware, the field is of type DURATION, so its your decision to either use a timeout of 60seconds, 30minutes or 5hours when you compare the idle value. Therefore, there has to be a client or NAS running, generally speaking some kind of job spooler / scheduler, which will periodically, e.g. every minute, compares the sesion idle time values against a max. idle value, either a global or a user-individual one. If it's over, the session can be deleted.
MCP+I, MCSE NT, Navision MCT (2004,2005)