close ad
WARNING: Do Not Install the DREAMWEAVER CC 2017 Update »
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Sending users information when registering or changing password

Thread began 2/10/2010 9:14 am by pmait97856 | Last modified 2/10/2010 10:00 am by pmait97856 | 537 views | 1 replies |

pmait97856

Sending users information when registering or changing password

I am in the process of testing the registration, login, user profile, change password and forgot password pages. The passwords are encrypted.

What I want to do is send the users an email with the unencrypted password and other registration information as reminders of login details.
a) when they register – (Company name, username, password etc.)
b) when they change their password – (username and password)
c) when they have forgotten their password – (username and password)

But I am having a really hard time understanding how to trigger the Security Assist Email Password before the form encrypts the password.

The forgotten password works fine. The email sends the unencrypted password.

However, on my change password page, all the information I want sent is being sent by email but the password is the encrypted version.

On the page, I have a recordset (rsCompanyInfo) of the users information filtered by the UserID session from the login page. This shows the correct info on the page ie: Welcome name, company etc.

I have also used the session to store the info I want sent in hidden fields in the form ie:
<input name="Firstname_usr" type="hidden" id="Firstname_usr" value="<?php echo $row_rsCompanyInfo['FirstName_usr']; ?>" />

And on the Message details of the Security Assist Email Password I have added the following:

User name: [Email_usr]<br />
Company: [Company]<br />
Name: [FirstName_usr] [LastName_usr]

I tried the password info like this:
Password from session: [Session.PasswordChange]<br />
Password: [Password_usr]<br />

to see what would happen. The second password returns the encrypted version, the first shows nothing.

I created a session (PasswordChange)

Trigger: If Session Variable Is Not Defined
Session Name: PasswordChange
Value: <?php echo ((isset($_POST["Password_usr"]))?$_POST["Password_usr"]:""); ?>

Now I realise the above is probably totally wrong. The trigger needs to be set to the form button, but what should the value be? And what fields should it be associated to in the update behaviour?
Do I even need a special session to trigger the email.

If anyone has created a successful registration or password update form that send the info to the user, can you PLEASE let me know how you did it.

Paul

Sign in to reply to this post

pmait97856

Figured it out

Trigger: If Session Variable Is Not Defined

When set to the button, the password is sent

Trigger: Button: change pressed

And in the email

Password from session: [Session.PasswordChange]
sends the unencrypted version

Sign in to reply to this post

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

Content

rating

Layout

rating

Ease of use

rating

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...