CodeIgniter Forums
Class auth not working - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21)
+--- Thread: Class auth not working (/showthread.php?tid=29597)



Class auth not working - El Forum - 04-14-2010

[eluser]novarli[/eluser]
Class auth not working

I have web application using CI. If i use domain in

$config['base_url'] = "http://www.domain.com";

But when i change

$config['base_url'] = "http://123.456.1.2/folder";

User cannot login. If username and password inccorect will appear error message.
But if both correct cannot redirect to main page. But still at login page with not display error message. But if i use domain no problem.

Why?

Thanks before ...


Class auth not working - El Forum - 04-14-2010

[eluser]Thorpe Obazee[/eluser]
Have you tried putting a trailing slash with a domain name?


Class auth not working - El Forum - 04-14-2010

[eluser]novarli[/eluser]
Ok i will try. Thanks for your reply


Class auth not working - El Forum - 04-14-2010

[eluser]novarli[/eluser]
Sorry still not working

$config['base_url'] = 'http://123.456.1.2/folder';

and

$config['base_url'] = 'http://123.456.1.2/folder/';

I have tried both, but still not working. May be session problem?