How can i set_session to.. |
[eluser]benfike[/eluser]
I have an page (http://arsenalfan.hu) and have an forum, i want if anyone login in the page also login to forums. In install.txt of forum say that="set your auth system to create $this->session->userdata('username') as the username from the database, and $this->session->userdata('id') as the users id, and $this->session->userdata('admin') for users that match an administrative role." In page controller: Code: function login(){ The Verifyuser function in Mfelhasznalok model: Code: function verifyUser($u,$pw){ Help me pls |
Welcome Guest, Not a member yet? Register Sign In |