help me for SimpleLoginSecure and my problem. |
[eluser]SaSa[/eluser]
i use of library SimpleLoginSecure, don't know why after login output is 0, and set_userdata not have output and value not insert in database (ci_sessions->user_data) it is empty. validdata is rateun true but $this->session->userdata('logged_in') is false. what is your comment? waht do i do? this is my Controller: Code: function index() Code: function login($user_email = '', $user_pass = '', $type = '') other Controller: after validation is return true, output this code is '0'. Code: function order_foreign_tour_insert(){
[eluser]SaSa[/eluser]
I hope you understand that help me for solve the problem. please help me...
[eluser]momo123[/eluser]
Well I'm too lazy to read all your code. But as far I can see you misunderstand the "return" - statement. If you write something like ... Code: if (..) {return true} else {return false} you leave your function. The rest of your code will never be executed.. Hope that helps. Mo |
Welcome Guest, Not a member yet? Register Sign In |