How can I redirect a user from a login page to a secure page after the user is authenticated against a database.
The code I am using for redirect is :
header("Location: http://www.test.com/test.php")
The above code is not working as the secure page test.php is built from a template.
Can anyone please give me a workaround?