Welcome Guest, Not a member yet? Register   Sign In
Check session exit ?
#4

[eluser]dnc[/eluser]
Just Like Oscar Dias said when you unset the session it should return false. If you want to make sure than just like was said in PHP:

Code:
if(!isset($this->session->userdata('uid'))) {

//do whatever you need to do. The session['uid'] is not set

}


By the way your still working with "normal" PHP. Just got an awesome framework to kickstat your work with.



Messages In This Thread
Check session exit ? - by El Forum - 06-02-2012, 02:18 AM
Check session exit ? - by El Forum - 06-02-2012, 06:52 AM
Check session exit ? - by El Forum - 06-02-2012, 07:59 PM
Check session exit ? - by El Forum - 06-02-2012, 09:53 PM
Check session exit ? - by El Forum - 06-03-2012, 09:28 PM



Theme © iAndrew 2016 - Forum software by © MyBB