Redirect With Parameter Post In Yii

Dear All,

I am facing a problem. I want a action redirect/render from one action to another action with parameter pass as POST method not pass by URL in a same controller. is it possible ? if it is possible please solve . … and help me

Thanks

Sajal

It’s not really possible with a standard redirect. You can either forward the request internally, effectively assigning a different action to handle the current request, or you could use cURL to initiate a new POST request. Either way, the user will remain at their original URL.

If you’re happy to forward the request, look at this method.