I'm trying to create a login page that checks to see if the users name and password is in a database (can do this bit) and then if so set some session variables.....however, i can't do this bit as the code for checking the database seems to cause the headers to be flushed out meaning a session can't be created. 🙁
Is there a better way to go about this?
Thanks
Paul