CodeIgniter Forums

Full Version: Login admin loop
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

El Forum

[eluser]Unknown[/eluser]
I have a problem with Login to admin.
When I login again returns to index page.

How can I fix it;

El Forum

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

El Forum

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

InsiteFX