generated by gii:
array('label'=>'Delete', 'url'=>'#', 'linkOptions'=>array('submit'=>array('delete','id'=>$model->id),'confirm'=>'Are you sure you want to delete?'))
I changed to
which gives this link:
Invalid request. Please do not repeat this request again.
yes ! you are right;
in web developing , there is a basic knowledge:
GET is only for query , and is idempotent . means that you can do that any times and will get same effect;
POST is for command invoke . is used to affect server end , it is not idempotent. means if you do it multi_time you will get different result .
so update , insert and delete should use the POST instead of GET .
thanks for clarification you are ofcourse right, I’m getting back into web development after long break and I forgot some basic stuff