Talking about the Conversation Mechanism

【Foreword】

     This article briefly explains the understanding of the session mechanism

 

【Introduction】

(1) BS mode?

         Browser/Server browser/server mode, through the browser to request the server for communication session. Data exchange with the database through the Web Server. The following is a detailed introduction

(3) What is the session mechanism?

        When you open a web page, the operation can be understood as a session. For example, when logging in, the browser first sends a request to the server, and the server returns information to complete a communication session.

(3) The end of the session?

         Close the browser, the session ends

 

 

【Details】

(1) BS mode

      Advantages: It can be operated anywhere without installing any special software. As long as there is a computer with Internet access, it can be used. The client has zero installation and zero maintenance. The expansion of the system is very easy.

      Status: B/S structure is used more and more, especially the development of AJAX technology is driven by demand, and its programs can also be partially processed on the client computer, which greatly reduces the burden on the server; and increases the Interactive, can perform partial real-time refresh.

      Principle: The user interface is completely implemented through the WWW browser, and part of the transaction logic is implemented on the front end, but the main transaction logic is implemented on the server side. The browser interacts with the database through the Web Server

 

(2) Extension: CS mode

      Introduction: Client/Server client server, the client needs to install special client software

 

(3) Comparison

B/S Open a browser and complete the operation

C/S also needs to install a client

 

(4) In-depth understanding of browser session mechanism (session && cookie)

Share a good article: http://blog.csdn.net/xi_2130/article/details/51361494

 

 

 

 

 

 

 

.

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326096666&siteId=291194637