PHP Sessions Help

jiannos

New Member
I made a login system and want to create different sessions for different users and give them a personalized dashboard.When logged in, users are redirected to dashboard.php. In dashboard.php, i want to check if username is "SARTHAK"(Should cross-check from database), if yes, the user should be redirected to file1.php. If user is "STEVE", he should be redirected to page2.php. Otherwise if any other user should be redirected to default.php.I know that I have asked this question earlier but the methods did not work.Thanks yet again.Sarthak
 
Back
Top