[eluser]kwhitaker[/eluser]
Good afternoon all,
I've got a controller that has logic like this:
Code:
if(some logic)
{
do some action
}
else
{
if(some other logic)
{
do some other action
load a view
}
Assuming that the above doesn't apply, process the controller accordingly.
}
The problem that I'm having right now is that the page continues to process data, even if the view is loaded. Is there anyway to stop the data from processing after the view is loaded, without nesting all of the code past the second if statement into an else?