close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

SA email PW not sending

Thread began 10/23/2009 11:48 am by rog4679 | Last modified 10/26/2009 4:46 pm by rog4679 | 4251 views | 13 replies



That's because you are trying to send the password from the database itself - which you cannot do because that is the encrypted representation of the password.

Typically, sites that have encryption go about emailing the password a different way. With a site that uses encryption, you actually want to generate a brand new password - then send it to the user with a note that they can log in with the new password and then change it to whatever they like and then you encrypt the newly generated password to store in the database (wither with SHA1 or MD5 depending on preference).

So on your email password page, you have someone enter their email - then you keep the lokup functionality to ensure there is a user with that email - then you could use Security Assist's random password generator and make like a 6 character random password. You would then create the universal email to go out with that new password. Next on your page would be a dataAssist single record update behavior to update the password of the user you just emailed. In the DataAssist wizard, you would go to the page where you assign values to the columns.... then select the password column and click the lightning bolt to add your randomly generated password from the session list... be sure to look down at the Format option - if you are using WebAssist's SHA1 encryption - you will then need to select the SHA1 formatting in the Format drop down to apply to your random password session variable.

Now when the person logs in, you must have the authentication check for encrypted passwords - which will compare the SHA1 formatted version of the password they enter to value that is stored in the database.


Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question





Ease of use


security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...