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 | 5227 views | 21 replies

Walikan

Hey Eric,
I am sure my explanation wasn't clear in the previous post. You said:

  So in the end you would like the user to fill in the info on this page then check the info to confirm that it is correct for the user rite? You then want to send the user to the email password page if this is the case correct?  



You quote above is exactly my goal.

You said:

  If this is the case then you must do more with the recordset you have on the page. You must filter this recordset on all of the entered values that the user submits that you would like to verify. Once the rs is filtered on all of these values you will know that the user matches the user in the db. You can then redirect them to the verify page.  



I have a rs that filters all the entered values and that works perfectly. I do not have any problem with that. I have tested it and it is good to go.

Your quote below is where I will need help.

  Once you have the rs in place then you can proceed with the next part which is to have a custom piece of code that checks to see if there is a record in the recordset, if there is then you can send the user off to the verification page. If you wanted to make sure they cannot access the page directly then you will first set a new session variable that will indicate the user has been verified. Then at the top of your email password page you do a custom check for this session variable, if it is not set or does not have a value then you would send the user back to the verification page.

I can cover this last part in more detail with you but I think it would be best to have the other part in place, this will make it much easier to implement this last part. Please post back with any questions that you have about the query and getting the check of the recordset in place before moving onto the email password page.  



Below is the custom check you provided.

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

PHP Code:
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.  


This is where I need your help. Do I need to create a new session variable to replace 'your var' in the above quote? What will be the value of that variable? Kindly give me a step by step procedure to achieve this.
Thanks alot for your kind support.

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