$this->session->set_userdata() OR $this->session->unset_userdata() causing 500 Internal Server Error.
okay in localhost. only causing problem in server.
CI Version : 2.1.4
PHP Version : 5.6.30
PHP Error : 500 Internal Server Error
Js Error: 502 Bad Gateway