How to End a "SESSION"

KGSKGS Member Posts: 13
Hi everybody
in navision can we explicitly end the session with the help of coding?
if yes then pls help.....

Comments

  • ara3nara3n Member Posts: 9,256
    in 4.0 you can just delete the user from the session table.
    You can do that through code. The user off course needs to privilege to do it.
    Ahmed Rashed Amini
    Independent Consultant/Developer


    blog: https://dynamicsuser.net/nav/b/ara3n
  • garakgarak Member Posts: 3,263
    Why you will end an session?
    The session will be autom. close if the user disconects. Only if a system chrash or the company use terminal program (Citrix, MS Terminal) an the user close citix, then the Session in the database ist still allive. But to kill the session is an job of an db administrator :!: not an job for an autom. job in navision
    Do you make it right, it works too!
  • kgsinhakgsinha Member Posts: 67
    can you tell me the name of that table, where SESSION is maintained...
    ???????
  • idiotidiot Member Posts: 651
    Table name is Session
    NAV - Norton Anti Virus

    ERP Consultant (not just Navision) & Navision challenger
  • ara3nara3n Member Posts: 9,256
    To see the table. Click on File->Database->informatino->Sesson tab->Current Session. You'll see the table.

    You can also create a temp form. Set source table sessions. and you'll see the records. You simply need to delete the record from there to kill a users.
    Ahmed Rashed Amini
    Independent Consultant/Developer


    blog: https://dynamicsuser.net/nav/b/ara3n
Sign In or Register to comment.