Welcome Guest, Not a member yet? Register   Sign In
Class auth not working
#1

[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 ...
#2

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

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

[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?




Theme © iAndrew 2016 - Forum software by © MyBB