Jump to content
Xtreme .Net Talk

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


Recommended Posts

Posted

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

ima
  • Administrators
Posted (edited)

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.

Edited by PlausiblyDamp

Posting Guidelines FAQ Post Formatting

 

Intellectuals solve problems; geniuses prevent them.

-- Albert Einstein

Posted

Cookies

 

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.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...