brentnewbury
Programmer
Hi all,
I have a login script, that you can login, change your details, change your password, retrieve your password, and so on.
Say a person wanted to login in. They go to login.asp, then when they click the 'Login in' button it takes them to login_action.asp. How can I make it submit to the same asp form. I know how to do this in php but not asp. So for all the things that the user can do, there are alot of scripts, just to do a few simple things.
This is how it is done in php:
If (!Submit)
{
?>
HTML STUFF HERE AND FORM
<?
}
else
{
WHATEVER YOU WANT TO DO WITH THE FORM INPUT. I.E. INSERT INTO DATABASE
}
?>
Thnx for your time,
Brent Newbury
I have a login script, that you can login, change your details, change your password, retrieve your password, and so on.
Say a person wanted to login in. They go to login.asp, then when they click the 'Login in' button it takes them to login_action.asp. How can I make it submit to the same asp form. I know how to do this in php but not asp. So for all the things that the user can do, there are alot of scripts, just to do a few simple things.
This is how it is done in php:
If (!Submit)
{
?>
HTML STUFF HERE AND FORM
<?
}
else
{
WHATEVER YOU WANT TO DO WITH THE FORM INPUT. I.E. INSERT INTO DATABASE
}
?>
Thnx for your time,
Brent Newbury