The problem with API is that it interacts with the server, not the client, and without a client component, you can't interact with it...So you could write some API thing, but would still need an AL that does the actual logout.
On Mon, Oct 05, 2015 at 8:01 PM, Abhishek Chaturvedi < [email protected] [[email protected]] > wrote: **Hi Joel Thanks for your reply, I was wondering if we can write an API to log out user when his session times out this can save us the overhead due to AL. Any idea regarding this ?? Thanks, Abhishek On 06-Oct-2015 6:28 AM, "Joel Sender" < [email protected] [[email protected]] > wrote: **Abhishek, I don’t know if this violates the BMC EULA; you should check! In theory, you’re automating a user logout; which MAY be OK with the BMC license to which you have already agreed to comply . So, as an academic exercise: 1. Add a Global Date/Time (i.e. ‘LastAction’) field to all forms your users may use (home page, HPD:HD, etc.) 2. On each form create an active link that sets the Global ‘LastAction’ to $TIMESTAMP$ upon (almost) all actions (submit, modify, search, etc.) 3. Also on all the forms, create an active link that runs every 7.5 minutes (450 seconds). RunIf ($TIMESTAMP$ - ‘Last Action’ > (450)). If true: a. Run process SET-CHANGE-FLAG 0 (prevents “OK to Close?” prompt) b. Run Process PERFORM-ACTION-EXIT-APP Note this will increase processing overhead, as all users on ‘all’ forms will be running the A/L. HTH, Joel Joel Sender [email protected] [[email protected]] 310.829.5552 From: Action Request System discussion list(ARSList) [mailto: [email protected] [[email protected]] ] On Behalf Of Abhishek Chaturvedi Sent: Monday, October 05, 2015 3:04 PM To: [email protected] [[email protected]] Subject: Re: Logout user after session timeout. ** Hi Misi, Thanks for your reply, I have a session timeout for 15 min and what i want is the user should be logged out immediately after 15 min cannot wait for 60 min, do you have any idea how this can be achieved out of the box or customized. Thanks, Abhishek On 06-Oct-2015 1:18 AM, "Misi Mladoniczky" < [email protected] [[email protected]] > wrote: Hi, You can lower the logout timeout to 1 hour, and if you set the same thing for the session timeout, you should get what you want. You can not lower the timeout below 1 hour, as this would affect license usage. If BMC lowered the minimum time, they would also need to increase their license fees to get the same amount of money from us. Best Regards - Misi, RRR AB, http://www.rrr.se [http://www.rrr.se] (ARSList MVP 2011) Ask the Remedy Licensing Experts (Best R.O.I. Award at WWRUG10/11/12/13): * RRR|License - Not enough Remedy licenses? Save money by optimizing. * RRR|Log - Performance issues or elusive bugs? Analyze your Remedy logs. Find these products, and many free tools and utilities, at http://rrr.se [http://rrr.se] . > Hi team I need to automatically logout a user after his session is timed > out, > do you have suggestions on this. > > Thanks, > Abhishek. > > _______________________________________________________________________________ > UNSUBSCRIBE or access ARSlist Archives at www.arslist.org > [http://www.arslist.org] > "Where the Answers Are, and have been for 20 years" > _______________________________________________________________________________ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org [http://www.arslist.org] "Where the Answers Are, and have been for 20 years" _ARSlist: "Where the Answers Are" and have been for 20 years_ -------------------------------------------------------------------------------- Avast logo [http://static.avast.com/emails/avast-mail-stamp.png] This email has been checked for viruses by Avast antivirus software. [https://www.avast.com/antivirus] www.avast.com [https://www.avast.com/antivirus] _ARSlist: "Where the Answers Are" and have been for 20 years_ _ARSlist: "Where the Answers Are" and have been for 20 years_ _______________________________________________________________________________ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org "Where the Answers Are, and have been for 20 years"

