validity of password

  • Thread starter Thread starter karthik
  • Start date Start date
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.
 
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.
| >
|
|
 
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.
 
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.
|
 
Back
Top