Disable the browser cache for a specific page

Hi,

I’m using the following code to set a flash message :




Yii::app()->user->setFlash('feedback','Your feedback was received, it will be shown once it is approved.');

$this->refresh();



and :




<?php if (Yii::app()->user->hasFlash('feedback')):?>

    <div class="flash-success">

        <?php echo Yii::app()->user->getFlash('feedback');?>

    </div>

<?php endif;?>



Just a copy/paste from the contact page ;D

But I can’t see the flash message, i think it’s related to my browser cache because the page loads too quickly.

Firebug says the page was loaded from cache.

What is the “Yii header(‘no-cache’)” method ?