Where do HTML form data go? [closed]

1

On sites with a registration, such as Facebook, where does the data go when you complete the registration?

And when you log in to the site, does it recognize whether you have an account or not?

    
asked by anonymous 18.08.2016 / 04:32

3 answers

3

In general terms, the following happens:

  • The form is sent to the server at the address given in the action attribute of <form> .

  • A program receives data in the server environment - in PHP, C #, Java, Python, Ruby, in short, it can be almost any language.

  • The program decides what to do with these data. Generally save to a database (for example, in a new database), or compare with data already in the database (for example, in a login procedure).

  • 18.08.2016 / 04:48
    1

    When you register on the social network Facebook, the form data is sent to several < the company's servers, thus making persistent user data and companies.

    When you log in to the site, there is a whole system that uses several

    18.08.2016 / 04:49
    1

    The form data is sent to a computer that we normally call the "server."

    Within this server, the data is processed. in the case of a register, the data is saved in a database (MySQL, Postgre, Oracle, MSSQL Server, among others).

    Inthecaseoflogin,thesameprocessisperformedwiththedifferencethatontheserverthesentdatawillbeusedtocomparewithexistingdata.Ifitexistsandmatchestheenteredpassword,authenticationisfreed.Otherwise,itisdenied.

        
    18.08.2016 / 06:16