close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Check for Email Confirm bug is back

Thread began 2/17/2010 1:35 pm by mikeljones390303 | Last modified 2/22/2010 10:16 am by mikeljones390303 | 2742 views | 8 replies

mikeljones390303

OK,

I removed the check for the session UserID from the email verified server behavior and now everything works fine.

I looked in the HelperGroupsRulesPHP.php shipped in the original zip file I downloaded from your site and found the comparison rules for 'Email Confirmed'.

The rules are as follows:

...
case "Email Confirmed":
$comparisons[0] = array(TRUE, "".((isset($_SESSION['UserEmailVerified']))?$_SESSION['UserEmailVerified']:"") ."", 1, "1");
$comparisons[1] = array(TRUE, "".((isset($_SESSION['UserID']))?$_SESSION['UserID']:"") ."", 2, "");
break;
...

So you ship the product with the two checks.

This begs the following question: How did this ever work if the comparison check is an OR operation?



I'm looking at the code in Security Assist Helper_PHP.php now and trying to figure out how it works. I'm an old C++ guy though and I have never worked with PHP before so the going is slow. :)


I am worried though...

If you include the check for 'UserID' along with the check for 'UserEmailVerified' in the original source code there must be a reason. Also, why would the check work for a while then stop working?

Like I said... I'm confused.

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