G'day
I do not get the Session value in the Cakephp project IE browser (2.2.0). Please find the script below and suggest me what you need to do.
Scenario - 1
class TestController extends AppController {
public function index(){
$this->Session->write('SessionHold.unique_id', $uniqe_id);
$this->Session->write("SessionHold.zipcode", $this->request->data['Test']['zipcode']);
$this->Session->write("SessionHold.business", $this->request->data['Test']['business']);
}
}
Scenario - 2
// In this controller, I get the session value
class SecondController extends AppController {
public function index(){
pr($this->Session->read());
}
}
Scenario - 3
- In this action, I have one form. I get the same session value on this page before publishing the form.
- As soon as I submit the form and print the same session array in the first line of action, but the result is empty in IE broswer.
Works great in other browsers like Mozilla, Chrome and Safari
The FinalController class extends AppController {
public function index(){
pr($this->Session->read());
**pr($this->Session->read()); exit;**
}
}
Please help me solve this problem. I appreciate the help. Thanks.