close ad
Install the LAtest Updates to Work with CC 2017 and CC 2018
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Help with double opt tutorial

Thread began 10/02/2013 1:20 pm by danny405167 | Last modified 10/09/2013 3:48 pm by danny405167 | 2109 views | 17 replies

danny405167

The problem is on both the userupdate.php and user-confirm.php pages. For the userupdate.php the following code needs to be after the recordset

<?php
if (!session_id()) session_start();
if((isset($_POST["User_Update_group_Email"])) && $_POST["User_Update_group_Email"] != $row_SecurityAssistusers["UserEmail"]) {
$_SESSION["UserEmailVerified"] = "0";
}
?>

and for the user-confirm.php page the code needs to be after the recordset

<?php
if (!session_id()) session_start();
if(!($totalRows_rsVerify == 0)) {
$_SESSION["UserEmailVerified"] = "1";
}
?>

The session code for the user-confirm.php page gets created when you follow the steps below, which can be found under the written tutorial
"Configure the confirm page" -> "Reset the user's session variable to verified status"

1) In the Server Behaviors panel, click Plus ( ).
2) Select WebAssist > Cookies > Set Session Value.
3) Change the Trigger to Recordset: rsVerify is not empty.
4) Make sure the Name is set to emailVerified.
5) Set the Value to 1.
6) Click OK.
7) Save the page.

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