I've got the following:
Procedure A calls procedure B which calls procedure C. Normally, when procedure C ends, processing returns to the next statement in procedure B; when B ends, you go to the next step in procedure A.
What I want to do eliminate the backtracking in a particular instance. That is, when the end of procedure C is reached, I don't want to go back through B and A.
This would sort of be the procedural equivalent of an EXIT statement for a LOOP.
A little more detail: A is a web login screen, which calls B which determines where the user will end up based on his/her role, which is determined by C. What I want do is have a condition in C for a particular role which will go to an entirely different web page. I don't want that user to see anything that A or B would display after C ends.
I've tried redirects (which in one case worked in Firefox but not Internet Explorer), creating exceptions, etc., but haven't had any luck.
It seems like it should be an easy thing to do, but the solution is doing a good job of eluding me so far.
Thanks in advance for any help offered.