Why call session not working? |
@garimapatil
Instead of this... PHP Code: echo $this->session->userdata('club');// [Technically this should work.] Try this... PHP Code: echo $this->session->club; Documentation: https://codeigniter.com/user_guide/libra...ssion-data Are you using any debugging tools? Also, keep in mind that the login page must be executed first in order for the session variable to be set. If the dashboard page is executed first then the session variable will not exist. |
Messages In This Thread |
Why call session not working? - by garimapatil - 12-05-2018, 12:04 AM
RE: Why call session not working? - by php_rocs - 12-05-2018, 10:40 AM
RE: Why call session not working? - by dave friend - 12-05-2018, 01:55 PM
RE: Why call session not working? - by php_rocs - 12-06-2018, 11:00 AM
|