Question:
Thinking about a browser application written using RPG CGI, what is controlling session data or someone just closing a browser? If the RPG is in a loop waiting for a command key to be received does it just run forever if the user closes the browser?
Answer:
We catch the browser event when the user closes the browser. First, the user will see a warning that the session is about to end. If they still proceed, a message is sent to the server to end the job. The job will not stick around forever, like with RPG/CGI, and no records will remain locked.
What is controlling session data?
-
- Site Admin
- Posts: 252
- Joined: Fri Dec 14, 2007 1:09 pm
- Contact:
Who is online
Users browsing this forum: No registered users and 1 guest