Maybe it's just a wierd browser thing. What do you see if you View SOurce?
=======================================================================
Raymond Camden, Principal Spectra Compliance Engineer for Macromedia
Email : [EMAIL PROTECTED]
ICQ UIN : 3679482
"My ally is the Force, and a powerful ally it is." - Yoda
> -----Original Message-----
> From: Steve Reich [mailto:[EMAIL PROTECTED]]
> Sent: Friday, June 29, 2001 1:57 PM
> To: CF-Talk
> Subject: Encrypt/Decrypt Functions [NOT cfencrypt/cfdecrypt]
>
>
> I am having a problem with the encrypt/decrypt functions. Here is my code:
>
> *** This creates the user when they register...
>
> <cfset dbPassword="#Encrypt(password, application.seed)#">
>
> <cfquery name="CreateUser" datasource="#application.dsn#"
> username="#application.dsn_username#"
> password="#application.dsn_password#">
> INSERT INTO users
> (fname,lname,email,username,password)
> VALUES('#fname#','#lname#','#email#','#username#','#dbPassword#')
> </cfquery>
>
> *** This validates a registered user....
>
> <cfset dbPassword = "#Encrypt(password, application.seed)#">
>
> <cfquery name="CheckUser" datasource="#application.dsn#"
> username="#application.dsn_username#"
> password="#application.dsn_password#">
> SELECT userid
> FROM users
> WHERE username='#username#'
> AND password='#dbPassword#'
> </cfquery>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists