How to logoff a session at certain time interval

srinivas.chittem
Member Posts: 142
Hai ,
This is srinivas. Here i have a small problem, even though it is small but it is challenging.
suppose i opened Navision DataBase with my UserId, menas here a session is created. Again i opened another Database by using Other UserId, menans totally two sessions created. I am using first one rather than second .
Here in the second session database calculates Idletime...
My intension is get that idle time, and that time reaches to 5min (for ex)
that session automatically logoff...
How can i get that idle time? what is the procedure to wirte the program that session should logged off after 5 min automatically?
Is there any functions are available in Navision to get the idle time?
please share your valuable ideas.....
Thanks & Regards,
srinivas.chittem
This is srinivas. Here i have a small problem, even though it is small but it is challenging.
suppose i opened Navision DataBase with my UserId, menas here a session is created. Again i opened another Database by using Other UserId, menans totally two sessions created. I am using first one rather than second .
Here in the second session database calculates Idletime...
My intension is get that idle time, and that time reaches to 5min (for ex)
that session automatically logoff...
How can i get that idle time? what is the procedure to wirte the program that session should logged off after 5 min automatically?
Is there any functions are available in Navision to get the idle time?
please share your valuable ideas.....
Thanks & Regards,
srinivas.chittem
Regards,
srinivas
"Delighting Customers.... Through Delivery Excellence" .
srinivas
"Delighting Customers.... Through Delivery Excellence" .
0
Comments
-
The logins are stored in a table called Session.
You can get the Idle Time form thereNAV - Norton Anti Virus
ERP Consultant (not just Navision) & Navision challenger0 -
There is also code in the Codeunit 1 Application Management that gets executed on logout.0
-
If you are running SQL Server you can run a script to delete idle connections. Check http://www.mibuso.com/dlinfo.asp?FileID=3670
-
There are plenty of threads about that on this forum. Just search for Idle sessions or terminate session etc. to find them.0
-
Hai
I am not finding any SessionTable in Table Object (No table is named as Session ) Will you please give alternative idea to get the idle time of a session....
please it's urgent....
Thanks & Regards,
srinivas.chittemRegards,
srinivas
"Delighting Customers.... Through Delivery Excellence" .0 -
its a virtual table. try to create a form and type this '2000000009' on the table. or just click File > Database > Information > Session Tab > Current Sessions. Click the Drop down button. and you will see the sessions table.Navision noob....0
-
Hai
i am creating a variable 'dur' type Duration..Acually the idle time of a system is in type duration ....
i am trying to assign 1 min to duration means
dur := 006000t;
but it gives typeConvertion error.....
what exeatly i tried ,
if idle time of a session is 1 min then session should be logged off
here i am getting comparision problem ....
please tell me your views..
thanks & regards
srinivasRegards,
srinivas
"Delighting Customers.... Through Delivery Excellence" .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