HTTP one-time request process

Source: Internet
Author: User

Physical layer: supports the underlying network protocol:

Where the network layer supports IP protocol:

The transport layer supports the TCP protocol, which is connection-oriented:

Application layer Support HTTP,FTP TFTP,SMTP,DHCP protocol

A complete HTTP request process:

1, enter the URL address in the browser------2, find the DNS resolution domain name to find the corresponding IP---------3, through the IP and port to establish a TCP connection with the server------4, the browser issued an HTTP request to read the file, The request packet is sent to the server as the third message of the TCP three handshake------5, the server responds to the browser request and sends the corresponding HTML file to the browser------6, releases the TCP connection------7, and the browser renders the HTML and displays the content.

Cookies and session

Cookies: A set of key-value pairs that are kept on the client, unsafe, and can be analyzed by others for information stored in cookies

Session: A set of key-value pairs on the server side, dependent on the cookie, the security value is higher than the cookie

HTTP one-time request process

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.