Browser Server Communication
Browser Server Communication
Communication
Browser server communication is the
process by which a browser requests
information from web server and the
server respond
WEB BROWSER
Web browser is a client, program, software or tool through which
we sent HTTP request to web server.It knows how to
communicate with web server. The main pur[pose of web
browser is to locate the content on the World Wide Web and
display the web pages, images, audio or video form.
WEB SERVER
A Web server can be a software or hardware unit which provides the
web pages via HTTP. Web server gets the request and find the resources
then responce to client. Web server provide services only for web
applications. All the communication between client and server take
place via HTTP.
The Client-Server Architecture
Client Server Communication
The client, typically a web The server processes client Clients and servers
browser or mobile app, initiates requests, retrieves data, and communicate using a
requests and receives sends responses back to the standardized protocol, such as
responses from the server. client. HTTP, to exchange data and
coordinate actions.
HTTP: The Fundamental
Protocol
1 Request
2 Processing
3 Response
STEP 4: Web browser sends a request for the web pages to the
web server using HTTP protocol and GET instruction
STEP 5: The web server locate the web pages associated with the
STEP 6: The web browser accept the web page , interprets if and
display the contents
TCP/IP connection
WEB WEB
BROWSER SERVER
INTERNET
Making Requests: GET,
POST, PUT, DELETE
GET POST
PUT DELETE
Server Response
UI Update
Persistent Connection
WebSockets establish a long-lived, two-way connection between the client and server.
Real-Time Communication
WebSockets are more efficient than traditional HTTP for applications that
require continuous data exchange.
Securing Browser-Server
Interactions
Encryption HTTPS encrypts data
exchanged between the
browser and server,
protecting sensitive
Authentication HTTPS enables server
information.
authentication, ensuring the
client is communicating with
the correct server.