Hey all!
I have a script called login.cgi. In this script is the normal login form etc. The form sends the information back into the login.cgi script and the script then checks the data for validity. If the data is valid then a success message is displayed and the user can click NEXT to continue, if it isn't the form is redisplayed and an appropriate error message is displayed.
However, I don't want it to be like this, I would like the script to redirect the users browser to the appropriate page (e.g. success.html) if the login info is correct. How do I do this?
Any and all help is appreciated.
Sean.
I have a script called login.cgi. In this script is the normal login form etc. The form sends the information back into the login.cgi script and the script then checks the data for validity. If the data is valid then a success message is displayed and the user can click NEXT to continue, if it isn't the form is redisplayed and an appropriate error message is displayed.
However, I don't want it to be like this, I would like the script to redirect the users browser to the appropriate page (e.g. success.html) if the login info is correct. How do I do this?
Any and all help is appreciated.
Sean.