Actually let me explain diffrent way, I have restricted user page, onces the user logs on there is no problem with that. I set session variable, but if user goes anoyher page and comes back to restricted user page the page denied his access. I don't know why it is doing like that.
2-If I need to be easy, if it is possible that to put a data to separate databse tables. I mean I habe two page; signup page includes username and password second page username, firstname, lastname soforth. I want to put the user name from page 1 to page 2 automatically without users insertion. the session variabla didn't work or I am using the session variable incorrectly. So there is prety much this.
|