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

Encountered validation conflict

Thread began 2/23/2011 3:34 pm by troyd | Last modified 2/25/2011 3:02 pm by troyd | 1816 views | 9 replies

troyd

Some success!

I created a new rule called "Logged In Email Confirmed". But it actually only checks one thing, which is, "is the session for UserEmailVerified >= 1?"

Here's the rule;
case "Logged In Email Confirmed":
$comparisons[0] = array(TRUE, "".((isset($_SESSION['UserEmailVerified']))?$_SESSION['UserEmailVerified']:"") ."", 6, "1");

(not sure what the 6 means)

It seems to now do everything I need it to. Not sure why this works and the original = 1 doesn't. But there is that added UserID <> in that rule.

So it is blocking access to the protected page for the following
Not logged in at all
Logged in but not email verified

And the show regions work as well with this rule.

I have tested this by logging in as both a verified and a not verified user. And by closing my browser each time. But if I encounter trouble, I will report that for reference.
If you see anything weird in that session dump from earlier please let me know.

Thanks,
TroyD

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