Before you make the Ajax call, where is the session getting the data for the language? How are you setting that?
Sep 14, 2015
3
Level 1
Session value is not change
Hi, I want to change session value i.e. overwrite the session value.
Suppose my session array is like,
Array ( [_previous] => Array ( [url] => http://localhost/test ) [flash] => Array ( [old] => Array ( ) [new] => Array ( ) ) [_token] => asdfsda [language] => 3 )
Now by ajax call I want to change value of language, I tried session::put(), session::set() for overwrite value it works but when I refresh the page it display old value i.e. old array as above.
Please suggest or help same.
Please or to participate in this conversation.