How an IIS server identifies from which client a request for a webpage came ?

sureshcd10

Regular
Joined
Dec 25, 2003
Messages
77
How an IIS server identifies from which client a request for a webpage came ? At a time multiple requests arrives to the web server.The IIS webserver processes the request and send the requested webpages to the respective clients.I want to know how this web server
identifies/distinguishes each client requests for sending responses

Thank u all
 
This is mainly handled at a lower level than IIS - incoming requests are really just another tcp/ip sockets connection and as such these are identified by a unique IP / Port number combination.
Normally IIS wouldn't need to care - it gets a request, sends a response and forgets all about the request immediately afterwards.
If IIS is required to maintain information (state) about a client between requests then you would use some other mechanism (viewstate, sessions, querystrings etc) to programmatically control this.
 
Last edited:
Cookies

sureshcd10 said:
How an IIS server identifies from which client a request for a webpage came ? At a time multiple requests arrives to the web server.The IIS webserver processes the request and send the requested webpages to the respective clients.I want to know how this web server
identifies/distinguishes each client requests for sending responses

Thank u all

IIS uses cookies to differentiate between different client requests. Try changing your web.config to support cookieless connections and check out your project. You will notice a bunch of extra characters prepended to your requested URL... this is how your session identifier is propogated from one page to another without cookies.
 
Back
Top