PHP Sessions Redirection
<p>I made a login system and want to create different sessions for different users and give them a personalized dashboard.</p>

<p>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), the user should be redirected to file1.php. If user is "STEVE", he should be redirected to page2.php. Otherwise the user should be redirected to default.php.</p>

<p>I know that I have asked this question earlier but the methods did not work.</p>
