Right now, I have a login form on my main page (ie. www.domain.com), but when the user logs in, the variables are sent to login_process.php and checked with the database.
Once verified and cookies are set, the user is now logged in, but they are still at login_process.php.
Does anyone know what I can add to the login_process.php script to make it so that the user is redirected back to the main page again (ie. www.domain.com), but this time the login form is replaced with a 'welcome $username' message?
Any help or links to how todo this are appreciated...thanks.