Welcome Guest, Not a member yet? Register   Sign In
user data not saved in session after login

i am facing a problem with my user registration and login script, register user working fine, after activation of user when try to login first time, providing proper username and password it redirects back to login page not going to user panel, if i login again it work fine, very first time user login not saving user data in session, i have debugged i can see user data in session before redirect to user panel but after redirecting nothing in it.

How would you like us to help you if you don't show us any code?

1st of all access to login page must have only guests.
2nd on login you can set clear user session data so if there is anything kept which may bug your login process to clear it..
3rd - without code we can't just guess what is your problem Smile
Best VPS Hosting : Digital Ocean

Theme © iAndrew 2016 - Forum software by © MyBB