When we run Pro*c program in 3-tier architecture setup, the programs gets executed in application server. I need to know the following.

1. How to know when the program is over? Is there any mechanism by which we have the control from client m/c?
2. The output is generated in application server. How to view from client m/c (from browser)?


Best Regards.