![]() |
Help
Hi ..
I am new here and i really need help .. In ASP This is the form code :
<form name="login" method="post" action="confirm.asp">This is the confirm.asp :
<%But it doesnt work .. All i want is to check if the username and password match then they willl log in |
Can someone just tell what is wrong with the code please
|
I don't think there's anything wrong with your code
have you tested it? |
yes i did .. it takes me to the next page in all cases!
|
Hi again .. ok lets say when the username and pass are correct
i want the user to directly go to the menu.asp page ... how can i do that? |
Quote:
Quote:
:
response.AddHeader "location", "menu.asp"If you want the user to see the message for let's say 5 seconds, use this code: :
<meta http-equiv="refresh" content="5;url=menu.asp"> |
:
<meta http-equiv="refresh" content="5;url=menu.asp">Where do i have to put it will this do? :
strUsername = Request.Form ("username")Thank you ! |
You have to put it in the header section of the HTML part.
|
Aha thank you!
|
Welcome to the forums, but please read the rules/FAQ and a "How to Post..." thread. "HELP" is not an acceptable subject line.
|
| All times are GMT -5. The time now is 4:56 PM. |
Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC