problem in logoff
srinivas.chittem
Member Posts: 142
Hai
First I thankful to you all for shareing your views here..
i have problem in logoff...
Actually i am calculating idle time of a session then it reaches 5 min then session should be colsed logoff automatically..
how to write the logoff code manually..? will u please share your idea..
Thanks & Regards,
srinivas,India
+91-9985310163
First I thankful to you all for shareing your views here..
i have problem in logoff...
Actually i am calculating idle time of a session then it reaches 5 min then session should be colsed logoff automatically..
how to write the logoff code manually..? will u please share your idea..
Thanks & Regards,
srinivas,India
+91-9985310163
Regards,
srinivas
"Delighting Customers.... Through Delivery Excellence" .
srinivas
"Delighting Customers.... Through Delivery Excellence" .
0
Comments
-
there is no Loggof but Disconnection (client is still open but disconnected from server). You just needs to do:
Session.GET(SessionID); Session.DELETE(True);
Session is record variable over virtual table Session.0 -
The command Session.GET(SessionID) work in which version 3.7, 4 or higher ?
Anirudh0 -
Session is a virtual table not a command0
-
in all versions...
SessionID is no. of the session you want to disconnect. the code is just example how you kill the selected version, not how to find it.
And this example works on NAV 3.70 MS SQL option and on all NAV 4.00 and newer versions for both servers.0 -
You can also try this instead.
Session.SETRANGE("User ID", variableUserID); IF Session.FIND('-') THEN Session.DELETE(TRUE);Navision noob....0 -
I am using Navision 3.7 with Navision Database. How can I use this table there.
Anirudh0 -
When I write Session.GET(SessionID) in trigger, at run time the following message appears
'THE EXPRESSION TEXT CANNOT BE TYPE-CONVERTED TO A INTEGER VALUE'
Tell me the write syntax and location for the syntax.
Anirudh0 -
1) I recommend some NAV developer course.
2) Session id is integer type.0
Categories
- All Categories
- 75 General
- 75 Announcements
- 66.7K Microsoft Dynamics NAV
- 18.8K 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
- 610 NAV Courses, Exams & Certification
- 1.9K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 251 Dynamics CRM
- 103 Dynamics GP
- 6 Dynamics SL
- 1.5K Other
- 991 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 28 Design Patterns (General & Best Practices)
- Architectural Patterns
- 9 Design Patterns
- 4 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1K General Chat
- 1.6K Website
- 77 Testing
- 1.2K Download section
- 23 How Tos section
- 249 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions
