close ad
Databridge V2 with MySQLi support IS Now Available!
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 | 5121 views | 21 replies


Help with Verify Form field Information

Hey Eric,
Thanks once more for your help. You said

  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.


I have four session variables(FirstName, LastName, Phone and Zipcode) created in my verify.php page I don't know which one to replace in the above quote and I don't know what session value to use. I have simply changed the above quote to:

if(!isset($_SESSION['FirstName']) || $_SESSION['FirstName'] != '1'){


and placed at the top of the EmailPW Page and when I tried direct access to EmailPW page, I am redirected back to verify.php page(as was expected). But when I tested the verify.php by completing the form fields that match that in the database, I was redirected to verify.php page. I was expected to be redirected to EmailPW page since the form fields match that in the database.
I am surely doing something wrong with the session variable and the value of the session. Do I need to fill in all the session variables in the above quote? Any clue on what I can do?
Thanks in advance

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