Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
 
  HOME    TRACKER    ASP




LEN


I'm trying to make a page which will allow the user to change password once logged in.

<%
Dim Password1, Password2, PasswordNE
Password1 = request.form ("pass1")
Password2 = request.form ("pass2")
PasswordNE = "ChangeUser2.asp?msj=1"
if LEN("Password1") < 4 then
Response.redirect (PasswordNE)
elseif Password1 <> Password2 then
Response.redirect (PasswordNE)
End if
%>

The problem line is as follows (it doesn't do anything)

Code:

if LEN("Password1") < 4 then

I originally tryed it without "" as follows (but the page wouldn't open):

if LEN(Password1) < 4 then

I would appreciate any pearls of wisdom on this...




View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread

    Copyright © 2005-08 www.BigResource.com, All rights reserved