CodeIgniter Forums
Login admin loop - Printable Version

+- CodeIgniter Forums (
+-- Forum: CodeIgniter Archived (from EllisLab) (
+--- Forum: Archived Development & Programming (
+--- Thread: Login admin loop (/thread-41255.html)

Login admin loop - El Forum - 05-03-2011

I have a problem with Login to admin.
When I login again returns to index page.

How can I fix it;

Login admin loop - El Forum - 05-03-2011

And by "returns to index page" you mean you are redirected to the login form? Then my guess is your login doesn't work Wink

It's really hard to help you if the only info you give us are two short lines about some behaviour that may or may not be right. What about the code you use? Not all of it, but at least your login routine, the login check (with the redirect)...stuff like that.

Login admin loop - El Forum - 05-03-2011

So post your code and please use code tags!
// Remove spaces after code!
[code ]
    // your code here.
[/code ]