Submitting passwords in form field.

When passing sensitive data like password to a form, you can use a password form field to hide the information.

When the user type the password, each character will be replaced by an asterisk "*".

Syntax:
<input type="password" name="password_name" value="password_value">

form1.cfm

<cfquery name="add_person" datasource="persondb" username="" password="">

UPDATE person

SET Person_First_Name = 'Jim'

WHERE

Person_First_Name = 'Tom'

</cfquery>

form2.cfm

Password: <cfoutput>#Form.password_field#</cfoutput>

Advertisement

Radar: Subscribe & Save!

No User Comments.

No User Comments, be the first one to write your comments?

ApplayIT is owned by Scandic Systems LTD [UK] Company No. 5984000. All other trademarks and copyrights are the property of their respective holders.