RE: Secured application information

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Sanchan Sahai Saxena (sanchans_at_online.microsoft.com)
Date: 04/30/04

  • Next message: davidjones_at_optonline.net: "My Gay Partner Shoveing an Apple up His Anus"
    Date: Fri, 30 Apr 2004 20:10:34 GMT
    
    

    Wow ! Let me try to put in some of my thoughts, but you are the best judge
    of what to choose.

    a) First, I am assuming that you will ask the visitors to fill out the
    personal information first, before allowing them to participate in quiz. So
    lets assume that I visit your website and I click on the link which takes
    me to the online quiz. The first ASP page (I am again assuming that you
    will be using either ASP or ASP.NET) will show a form to the user wherein
    they can fillin their personal information like Name, address, email,
    telephone etc. Now, the only validation that you can do is to ensure data
    integrity in each field. For example, you can use JavaScript to check
    whether the visitor has entered the telephone number is a correct format or
    not.

    The way to go about this would be to create a JavaScript function that is
    called when the visitor clicks on the first "next/continue" button on the
    info page. This function will pick the info in the text fields and will
    check its integrity as to whether the information is in a valid format or
    not (telephone number to be numeric only, name to be text only etc.)

    This way you will be able to ensure that visitors are providing the correct
    information.

    I am also thinking if the person's information is already stored in the
    database and you only want them to edit it, in case it is wrong. In that
    case, you will allow the visitors to provide you with some userid and
    password, which will be searched in your database adn their relevant
    information will be shown to them on a webpage in text fields. This can be
    done by simply populating the text fields with the values from the database
    table. Once they update their information, then you will run an update
    query to update those fields in your database.

    b) For all quiz quetions, all you need to do is to either create a static
    webpage with all the questions already embedded in HTML. When they click on
    Continue, the javascript function will check whether the answers are
    correct or not. If not, they will be prompted to correct them. If they are
    all correct, you will then run an update query through an intermediate ASP
    file that will update the information in the database.

    I hope that helps.

    Sanchan [MSFT]

    sanchans@online.microsoft.com

    This posting is provided "AS IS" with no warranties, and confers no rights.


  • Next message: davidjones_at_optonline.net: "My Gay Partner Shoveing an Apple up His Anus"

    Relevant Pages

    • Access calculated field name?
      ... I've got an asp page that creates fields on the page based on database ... javascript function, but I'm not sure how to access their data. ... Posted via NewsDemon.com - Premium Uncensored Newsgroup Service ...
      (comp.lang.javascript)
    • [QUIZ] Food Database (#159)
      ... The three rules of Ruby Quiz 2: ... Support Ruby Quiz 2 by submitting ideas as often as you can! ... This week we're going to explore another large database that you might ... Each line provides nutrient information for 100 grams of that food. ...
      (comp.lang.ruby)
    • Re: Validate logins with ASP, MS Access and Cookies error
      ... If you plan to do much more ASP, I would advise looking for tutorials ... return another column from the database that stores the users 1st ... 'create connection and recordset objects ... Set cnStr = Server.CreateObject ...
      (microsoft.public.inetserver.asp.db)
    • Re: Validate logins with ASP, MS Access and Cookies error
      ... If you plan to do much more ASP, I would advise looking for tutorials ... return another column from the database that stores the users 1st name ... 'create connection and recordset objects ... Set cnStr = Server.CreateObject ...
      (microsoft.public.inetserver.asp.db)
    • Re: Linking Forms
      ... The second page code this must be an asp page ... This collects the information from the first form and stores it ... variables lines and then the fields of the sql insert to match your database ... To create the access database I often let frontpage do this for me by ...
      (microsoft.public.frontpage.client)