Welcome Guest, Not a member yet? Register   Sign In
Loading message and output_buffering
#3

[eluser]rockacola[/eluser]
I currently use a work around like this:

Code:
function do_something($args=array())
{
    // Credential and Authorization

    // Page Status
    ob_start();
    echo "Updating something... please wait";
    ob_end_flush();
    
    // Implementations...
    
    // Redirect back to previous page
    redirect('post-action-page', 'refresh');
}

But yes, in the long run, I think setup a redirect view like mentioned would be much more appropriate. Undecided


Messages In This Thread
Loading message and output_buffering - by El Forum - 02-01-2009, 12:55 AM
Loading message and output_buffering - by El Forum - 02-01-2009, 07:23 AM
Loading message and output_buffering - by El Forum - 02-01-2009, 04:18 PM



Theme © iAndrew 2016 - Forum software by © MyBB