[eluser]Webnet[/eluser]
I'm having a crazy odd issue with sessions on my site right now. First off, on the regular version of my site it works great. When I switch to the jQuery Mobile version it doesn't carry the session variable to the next page.
Code:
//var_dump($this->account->getHash()); //returns 4l1jk14n45na;kj45899cv8
$this->session->set_userdata('accHash', $this->account->getHash());
header('Location: /myaccount/');
The problem is, the variable doesn't exist on the next page.
Code:
var_dump($this->session->userdata('accHash')); //returns null
The only thing different in the mobile/standard version of my site is the set of templates, css, and js that it uses. The controllers are the same.
Any ideas on what I can look at see what's wrong here?
I know jQuery mobile is just javascript and should have no affect on the sessions, but given that it works on the regular site I"m thinking there's something else wrong here.