Forum Moderators: coopster
the user login page passes the username and password to the processing page. the processing page identifies if they match the MySQL DB. if it matches it includes the index page.
the index page has script at the top that check to see if $_SESSION['username'] is set and if so does nothing. if it doesn't exist then it includes the userlogin page and exits.
this is at the beginning of all pages not just the index page
my problem is that when changing the page the user is forced to logging again. this pretty much makes the pages useless.
Any idea why?
the $_SESSION[ ] array doesn't empty out when the page reloads does it?