I just performed a series of tests to prove/disprove some of the behaviors of approaching the problem in this way. Here are the results:
- Created a user with a floating license AGRAMS - Created 2 forms: console and ticket (in a deployable app with public everything) - Console form has an AL that on close runs the PERFORM-ACTION-EXIT-APP rp These are the observations I made: - When the user first logs in, they are usually granted a floating read license (GOOD). Observed once that a user was granted a floating write license when first logging in. - When the user submits or modifies a record, they are granted a floating write license (GOOD) - If a form is opened from the console, via an active link open window action, with a target of current, and that form is closed, the floating license is not released (BAD). This was consistent across IE and FireFox. - If the user closes the Console form, the license is not released with FireFox (BAD) - If the user closes the Console form, the license is released with IE7 (GOOD) - If the user clicks a button that calls the PERFORM-ACTION-EXIT-APP rp, the user is redirected to http://localhost/arsys/shared/logout.jsp, and the license is not released every time on FireFox (BAD). The behavior was inconsistent. Sometimes it would release the license, other times it would not. - If the user clicks a button that call the PERFORM-ACTION-EXIT-APP rp, the user is redirected to http://localhost/arsys/shared/logout.jsp, and the license is released on IE7 (GOOD) It seems there may be some problems in the MT license allocation/release mechanisms. This was tested using the following environment: - Windows 2003 Server - ARServer 7.0.01 200609271856 - Mid-Tier 7.0.01 200609271856 - Apache Tomcat/5.5.17 using 1.5.0_09 - Browsers: Firefox 2.0.0.1 and IE 7 I've posted a simple def that can be used to verify this behavior at http://arswiki.org/dist/ars/AppClose.def It's simple and stupid, but provides the tools to test the mid-tier. Feel free to poke holes in my observations. Axton Grams On 2/26/07, Rick Cook <[EMAIL PROTECTED]> wrote:
** Have an Active Link fire on Window Close and run a Process to exit the application. Look in Appendix C of your Workflow Objects guide for the exact call. Rick ________________________________ From: Action Request System discussion list(ARSList) [mailto:[EMAIL PROTECTED] On Behalf Of Kaiser Norm E CIV USAF 96 CG/SCWOE Sent: Monday, February 26, 2007 2:14 PM To: [email protected] Subject: Automatically Logging Out When Browser Closed ** Help! Anyone know how to do this or have any ideas? I want to log the user out of the midtier automatically if he/she closes the browser without logging out. I assume there has to be a way to do that. Anyone know? Thanks, Norm __20060125_______________________This posting was submitted with HTML in it___ __20060125_______________________This posting was submitted with HTML in it___
_______________________________________________________________________________ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org ARSlist:"Where the Answers Are"

