Hi, i made some pages for my login management system and most of them work:
signup (registers user to database and sends verification email)
activate (special activation thing for the randomly generated password, when user opens this page which is a randomly generated link with userID and password, the'r account becomes active)
login (username, password, goto login_success)
login_success(3 links, after success: change pass, logout, memberpage)
change-pass(changes the randomly generated password to a user requested one) ---THIS DOESNT WORK---
memberpage (checks to see if the user is logged in, and i am trying to make it say, Hi $_session['name'] , you are logged in!)---THIS DOESNT WORK EEITHER---
what i wanna know is, (change password isnt important for now)
i need someone to give me a code which checks for authentication, it has to be a session and it should tell me "name" and "username" and "email" and password, i already registered those in a session, in the login page, and then it goes to login_success, and checks if the sessions are there, it works until there but i dunno how to make the code for memberpage, which will check to see if the user has logged in, if so, displays a msg ($msg) but if the person isnt logged in (else) it should go to login page....
thx for your time, greatly appreciated 😃 please help 😕