|
楼主 |
发表于 2010-4-26 15:09:57
|
显示全部楼层
哪位大侠帮我看看 ci session的值在页面刷新后数据怎么没了
if($this->session->userdata['tag']=='1')
{$this->load->view('default/login1'); echo $this->session->userdata['tag']; }
elseif($this->session->userdata['tag']=='0')
{$this->load->view('default/login0'); echo $this->session->userdata['tag'];}
elseif($this->session->userdata['tag']=='')
{$this->load->view('default/login'); echo $this->session->userdata['tag']; echo "sljfasj";} |
|