Session Problem - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: Session Problem (/showthread.php?tid=49702) |
Session Problem - El Forum - 02-29-2012 [eluser]Unknown[/eluser] i try to do login pages with session in Codeigniter. In order to do that , i made a model Code: function girisKontrol($username, $password) { and in giris controller i made a function called giris Code: public function giris() { in the same controller i made one function more: Code: public function main_page() and use all of these in view Code: <form method="POST" action="http://localhost:81/pasaj/giris/main_page/" name="flogin" autocomplete="off"> However as declered in main_page function , it goes directly else statement and prints Error Why ? Session Problem - El Forum - 02-29-2012 [eluser]Mauricio de Abreu Antunes[/eluser] What does happen when you print $userID? |