Answer the question
In order to leave comments, you need to log in
How is the registration of users on the site from a technical point of view?
Interested in things like:
Answer the question
In order to leave comments, you need to log in
1) sent to the server, for example, via a POST request
2) the same, sent to the server. Perhaps in a processed form (a hash of the password instead of the password itself). In response to a login request, session cookies may be sent, by which the server will automatically identify the user without the need to enter a password.
3) cookies that the browser sends with each http request - they may also contain the username. Yes, and the session ID, which I already mentioned.
The maximum size of cookies depends on the browser, but, for example, 4 KB of cookies in EACH HTTP request is quite realistic. Considering that several dozen requests are sent when loading one page, I consider http a very inefficient thing.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question