Flash messages bug?

I am seeing some weird behaviour of flash messages. I have the following setup:

I have setup a create page with all the forms needed. on the bottom of the page I have setup a list of items that I have already entered with some custom buttons generated as links. I have a delete button against each record. It uses actionDelete. In my action delete i have :



delete record...




Yii::app()->user->setFlash('del','Invalid request. Please do not repeat this request again.');



here comes the crazy behavior. When i delete an entry all is fine I get my $msg. Right after the deletion if I attempt to reload the page I than get the Invalid request. Please do not repeat this request again. I don’t see how yii reaches to this flash message when the delete button hasn’t been pressed at all and rather just the whole page has been refreshed.

any ideas?