![]() |
help with login/session - 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: help with login/session (/showthread.php?tid=26537) |
help with login/session - El Forum - 01-16-2010 [eluser]KrizzAngel[/eluser] before i explain the problem/error that ive been getting, here are the cont/view/model that i have: my login block in my view page. Quote:<?php my controller. Quote:<?php my model. Quote:<?php ok, so thats the important files to post i think.. so whenever i think to login ( ofc with correct UN and PWD that is in my database. i always getting this error. I have some basic-intermediate knowledge when it comes to php but a friend told me to use this CI bcoz im kinda short on time to finish my system for school XD. and oh its my first time to use framework such as this CI. hope you can help guys.. Quote:A PHP Error was encountered help with login/session - El Forum - 01-16-2010 [eluser]faxtion[/eluser] Make sure you initialize sessions either in the controller or by auto load Code: $this->load->library('session'); help with login/session - El Forum - 01-16-2010 [eluser]KrizzAngel[/eluser] tnx. now i can continue my progress <3 |