problem with enableCsrfValidation


	'components'=>array(

		'request'=>array(

			'enableCsrfValidation'=>true,

			'enableCookieValidation'=>true,

		),

When i using enableCsrfValidation,the CHtml::linkButton make an error.

this is my code:


<?php echo CHtml::linkButton('Delete',array(

      	  'submit'=>'',

      	  'params'=>array('command'=>'delete','id'=>$model->id),

      	  'confirm'=>"Are you sure to delete #{$model->id}?")); ?>

When i click ‘Delete’,it display a error:

How to fix this error? thank you.

Take a look here: http://www.yiiframework.com/forum/index.php?/topic/2849-chtmllinkbutton-and-csrf/page__p__15818__fromsearch__1&#entry15818

Thank you,very helpful.