Auto logout user on sql db after no activity timeout

colingbradleycolingbradley Member Posts: 162
Is it possible to log a user out of Navision 3.70 running on a SQL DB if they have not been active for a while.

This is the usual problem of folk going home when still logged in.

Sorry if I missed it, tried to search for this but no results.
Experience is what you get when you hoped to get money


  • Options
    nunomaianunomaia Member Posts: 1,153
    You can use job scheduler and a codeunit to check the user timeout, if the user idle time is greater than some thing, delete the session.
    Nuno Maia

    Freelance Dynamics AX
    Blog : http://axnmaia.wordpress.com/
  • Options
    SavatageSavatage Member Posts: 7,142
    there are some sql scripts in the download section
  • Options
    himanshihimanshi Member Posts: 15
    I have created a codeunit using session table. i have written the code to delete the sessions of the user whose idle time is greater than 15 minutes. But i don't know where to call this codeunit. Please provide me with solution. Thanks in advance.
Sign In or Register to comment.