Forums / Basic Configuration / Admin Login Doesn't Work after messing with session_start()

Admin Login Doesn't Work after messing with session_start()

Locked

Started by terranrich on 25 Jun 2010, 1:04 AM · Views: 940

Results 1 to 2 of 2
This thread is locked. New replies are disabled.
25 Jun 2010, 1:04 AM
#1
terranrich avatar

terranrich

New Zenner

Join Date:
Jun 2010
Posts:
28
Plugin Contributions:
0

Admin Login Doesn't Work after messing with session_start()

*Hi all,

So after messing with session_start(), thinking that I was adding my own session variables to the ones Zen Cart was using, now I can't log into my Admin area.

When I enter the user name/password combination (which is correct, btw), it just redirects to the login form again. Through testing, I can tell that the login is validating just fine, but when it redirects to the index.php page, it redirects back to the login.php page again.

I think it may have something to do with the session, because I tried it in another browser (IE) and it logged in just fine. With Chrome and Firefox I had tried my session "hack".

Is there a way to reset the session completely so I can log into the admin area again?*

Oops! All I had to do was delete my cookies from my store's domain name, and it worked again. :)

29 Jun 2010, 12:43 PM
#2
10west avatar

10west

New Zenner

Join Date:
Feb 2010
Location:
Arizona
Posts:
50
Plugin Contributions:
0

Re: Admin Login Doesn't Work after messing with session_start()

check the exact path string and case of the string, including the presence or absence of www., http, vs https, etc