My program flows like this:
index.html <----- contain a form for login
signin.php <----- process the data from index.html, register session and forward to the third page
mem.php <---- contains a java menu, if session's registered, then show the menu, else nothing will be shown
My problem is:
users can't see the java menu after their first login whenever they start the index.html, it just like they haven't login.
users can see the java menu when they go back the index.html and try to login again.
so, did anyone experience this before ?
well if you are going to index.html after login, of course the sessions aren't there, cuz any page you want to access the session vars you need session_start() at the top
or you aren't explaining yourself well enough
Ooo... the login's from the index.html and go to the mem.php, users only can see the java menu after their 2nd or more re-logins. how come they cant see the java menu right after their first login? do you have any suggestions?