Reputation: 4557
I have a scenario in yii. I am using the following code to send some values from one controller to another one as follow :
$this->redirect(array('/site/login','hello'=>'hello'));
By this method, I can use this value in sitecontroller
using $_GET
. Is there any method in yii that I can get this value using $_POST
method.
If yes then Please share ...
Upvotes: 0
Views: 402
Reputation: 5512
This is impossible to do such redirect this way.
In Yii and not in Yii.
Find some other solution.
Upvotes: 2