View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Help with Verify Form field Information

Thread began 12/11/2009 10:40 am by buonsen368464 | Last modified 1/04/2010 3:56 pm by buonsen368464 | 3132 views | 21 replies

Eric Mittman

There are a couple of issues that I can see on your pages. On the verify page it looks like you have an authenticate user server behavior to log the user in. In this server behavior you are redirecting the user to the email password page. You should not be redirecting the user before the recordset occurs for matching the user info.

I also noticed that on your email password page you do not have the code that checks if the sent session variable is set to one, you will need to have this code toward the top of the page:

php:
<?php if(!isset($_SESSION['sent']) || $_SESSION['sent'] != '1'){
header("Location: verify.php?verified=false");
}
?>



The way this should work is the user enters their info on the verify page, the page is submitted to itself, the recordset occurs and filters based on the user submitted info. If there is a record then the sent session variable is set and the user is redirected to the email password page. On the email password page is the check from above that ensures the sent session variable is set to 1. If it is not then the user will be redirected back to the verify page.

As for the syntax error you are getting I will need to see the page in question to determine the line that is referred to in the error. Please post back with this page in a zip archive so that I can take a look.

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