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

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.


Thanks before ...

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

Ok i will try. Thanks for your reply

Sorry still not working

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


$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