on 07-24-2015 4:35 PM
Other than the application crashing, is there any way for a user to exit that the application close event does not fire in appeon?
I am logging the time when someone exits, but a LOT of the time the event doesn't seem to fire. Way more than an application crash would indicate.
This is on Appeon for PowerBuilder 2015 Build 0256.00
Appeon has confirmed they can reproduce the problem in 2015 versions including build 298. ticket id: 2384
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Mike;
Interesting ... Thanks for the update.
However, very strange as its working perfectly in my Integrated framework for the past 8 years. That's one of the key events that I use in my production applications as well. Weird.
I guess the bonus is for people already using my framework. 😉
Regards ... Chris
The close event does not fire in CHROME. If you either close the tab or close chrome itself, then it isn't firing my close processing. If you exit the application via the PB exit process, then it does fire.
IE doesn't have this problem. Haven't tried other browsers.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Mike;
1) The close Event is working nicely for me as my framework uses this event extensively. However, I am using Appeon 2015R2 - build 298.
2) If this is the case in your code / Appeon version .. a "work around" could be to use the CloseQuery event where the code is returning a "0" (OK to close) to collect your time statistics.
HTH
Regards ... Chris
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
closequery is a window event, not the application. are you using the close event of the application in any production web system?
It almost seems like a user might close the browser a certain way and it makes the application close without firing the close event
I'm also having problem with just one user whose browsers keep crashing (IE and chrome)
Ahhh ... missed the keyword "application" ... my apologizes!
1) I just checked my Integrated framework's log from the example OrderEntry application running via Appeon Web on FF, IE, Chrome, Opera and Safari. The last thing the framework dopes in the Application Close is compute the total running time and issue the sign-off message. This is working perfectly for me - which means the application close event is always firing.
Development:
2) I also checked the log on my Android tablet just now and the same information is being written to the Appeon Mobile log as well on the Application Close event.
Again ... my Appeon is build 298. However, I always check this when testing changes to my framework and I cannot remember this not working even back in Appeon 2013.
FWIW: My example Appeon Web/Mobile applications and production applications (here at work) never crash on the Application Close. They all use my frameworks BTW.
Production:
I wasn't clear: the user isn't crashing in the close event - just crashing elsewhere. I only brought that up since I'm checking a log table to see when they logged in and what browser and keep noticing that the logout date is never in the system. maybe the update process takes too long and the browser just kills it.
User | Count |
---|---|
84 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.