CodeIgniter session losing data -


i'm not sure why, losing codeigniter session data between pages. , session id changing. cause this? shouldn't accessible page once set?

session data set here in configuration page:

<?php $config = array(                     'power' => $_cookie['power'],                     'oemclass4' => $_cookie['class'],                     'cooling' => $_cookie['cooling'],                     'beam' => $_cookie['beam'],                     'wavelength' => $_cookie['wavelength'],                     'model_no' => $_cookie['part']);      $this->session->set_userdata('config', $config);  ?> 

the user redirected page details of configuration. session userdata still there then. javascript redirected (window.location) login page , userdata gone then.

it true while working on local host. specify cookie_domain localhost. retain session data on page redirects.


Comments

Popular posts from this blog

java - SNMP4J General Variable Binding Error -

windows - Python Service Installation - "Could not find PythonClass entry" -

Determine if a XmlNode is empty or null in C#? -