Codeigniter 2.1 $this->input->set_cookie($some_var); NOT WORKING |
[eluser]Unknown[/eluser]
I started creating a custom library that i would load for checking if user is logged in and also for registering users. Registration not started yet, but that's not important... here's the problematic part.. it WON't set cookies: Code: $this->load->helper('cookie'); This is how i call the library and check if user is logged in: Code: $this->load->library('user_management'); Cheers! p.s. I'm new to CI
[eluser]InsiteFX[/eluser]
Code: $some_cookie_array = array( secure is only used for https://
|
Welcome Guest, Not a member yet? Register Sign In |