I have two forms on a single view edit profile and change password. I have set the changepassword form action to changePassword and I am using

```
$this->autoRender = false; 
$this->render("index");
$this->redirect("index#chngPassTab");

```

but I am not able to set some varible to view due to redirection. I don't want to use session. 
All I want to set some variables based on conditions in controller action, get these variable values in view and when page reloaded after postback the password tab should be selected for that I used `$this->redirect("index#chngPassTab");` 

Please guide me best way to fix this issue. Thank you.