validity of password

K

karthik

hi friends,

i am beginner of ASP programmming and am having a problem which i
believe should be a simple one.can any out here plz help me in solving
my problem.
how can i check the validity of the password field submitted from a
form, in the action page.
example:

<form method="post" action="check.asp">
<input type="Password" value="" name="pwd">
<input type="Submit" value="Submit" name="Submit">
</form>

how can i access the value of the password in my check.asp file.

thanks in advance.

regards,
karthik.
 
S

Stefan B Rusynko

Actually it would be the form field name (not type)

password = Request.Form("pwd")

--

_____________________________________________
SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
"Warning - Using the F1 Key will not break anything!" (-;
To find the best Newsgroup for FrontPage support see:
http://www.frontpagemvps.com/FrontPageNewsGroups/tabid/53/Default.aspx
_____________________________________________


| Hi,
|
| It will be
| request.form("Password")
|
| --
| Cheers,
| Jon
| Microsoft MVP
|
| | > hi friends,
| >
| > i am beginner of ASP programmming and am having a problem which i
| > believe should be a simple one.can any out here plz help me in solving
| > my problem.
| > how can i check the validity of the password field submitted from a
| > form, in the action page.
| > example:
| >
| > <form method="post" action="check.asp">
| > <input type="Password" value="" name="pwd">
| > <input type="Submit" value="Submit" name="Submit">
| > </form>
| >
| > how can i access the value of the password in my check.asp file.
| >
| > thanks in advance.
| >
| > regards,
| > karthik.
| >
|
|
 
K

karthik

hi friends,

thank you so much for ur help.now i hav got something more to ask you
and i hope u won't mind to help me.anyway the problem is how can i
include a mandatory input field in a form and how can i check whether
the particular field is filled up or not by the user.

regards,
karthik.
 
S

Stefan B Rusynko

Use FP form field validation
- and if it is critical also use serve side validation

If Request.Form("pwd")="" Then response.redirect "yourloginpage.asp"

--

_____________________________________________
SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
"Warning - Using the F1 Key will not break anything!" (-;
To find the best Newsgroup for FrontPage support see:
http://www.frontpagemvps.com/FrontPageNewsGroups/tabid/53/Default.aspx
_____________________________________________


| hi friends,
|
| thank you so much for ur help.now i hav got something more to ask you
| and i hope u won't mind to help me.anyway the problem is how can i
| include a mandatory input field in a form and how can i check whether
| the particular field is filled up or not by the user.
|
| regards,
| karthik.
|
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top