close ad
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Help with Verify Form field Information

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

Eric Mittman

For the check of the session variable on the email password page you could just add in a simple if statement like this:

if(!isset($_SESSION['your var']) || $_SESSION['your var'] != 'the value of this var'){
header("Location: your_verify_page.php");

This check will make sure that if the user does not have this session variable set or it does not have the correct value the user will be redirected back to your verify page. You would need to fill in the parts about your session variable name, the value and your verify page.

For the question portion of this you will need to have a table in your db with pre-determined questions stored in it. You will need to add columns to your users table to hold a value for the question and another for the answer, you would need a pair of these columns for each security question you want to store for the user.

To use this you would just query your question table based on the question id value stored in the user table, for the answer you would have the user enter it in a text field.

You would then submit the form and attempt to filter a user recordset based on the answers given, then you can proceed with the rest of it. Please let me know if you have any further questions for any part of this.

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





Ease of use


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