close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Encountered validation conflict

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

troyd

Jason,

Here are a couple of my pages. Formatting stripped out to simplify things but that's it.
And the session dumb provided for each page. It's exactly the same for both pages.

The first page in question is the order_Page.php. Basically this is what will be a protected page. And it's exactly the same as the original User Registration Solution "protected page" file. What's really weird here is that this page does what is should when testing it on the original on my local server. But in the active web site, the rule is ignored. You can't access it if your not logged in, but if you are and your email is NOT confirmed, you can access it.

order_Page.php
array(3) { ["UserID"]=> &string(1) "5" ["UserEmailVerified"]=> &string(1) "0" ["UserEmail"]=> &string(27) "test@domain.com" }

This is from the users_Profile.php page. Here, the access rule works just fine. But there are two regions that should show up if your email is, or isn't confirmed. But the top one "You can access the Table Reservation Page or update your profile below." shows up no matter what. And the second area "Your email address has not been verified. Verify" never shows up. And it needs to if they are not confirmed.

users_Profile.php
array(3) { ["UserID"]=> &string(1) "5" ["UserEmailVerified"]=> &string(1) "0" ["UserEmail"]=> &string(27) "test@domain.com" }

I have completely closed my browser and reopened it every time I try a change. And it looks like the session is set. Not sure what I did but it is messed up some how.

Thanks,
TroyD

Attached Files
order_Page_WA.php.zip
users_Profile_WA.php.zip

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