CodeIgniter Forums
Login admin loop - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: CodeIgniter Archived (from EllisLab) (https://forum.codeigniter.com/forum-20.html)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forum-23.html)
+--- Thread: Login admin loop (/thread-41255.html)



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

[eluser]Unknown[/eluser]
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

[eluser]davidbehler[/eluser]
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

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

InsiteFX