IIS Steps To Determine How To Respond A Request

When you double click on a file or icon in Windows Explorer, it looks up the file extension in the registry, a special database that holds system and application information.

The registry contains one entry for each registered file extension. Each extension has an associated the type entry. Each file type entry, in turn, has an associated executable file or file handler. The server strips the file extension from the file name, looks up the associated program, and then launches that program to return the file. Internet Information Services (IIS) follows the same series of steps to determine how to respond to request. Most Web server also use file extension to determine how to process a file request, but they do not use Registry associations. Instead, they use an independent list of file extension to program associations. The entries in these lists are called MIME types, which stands for multi purpose Internet Mail Extensions, because email programs need to know the type of content included with messages. Each MIME type, just like the Registry associations, is associated with a specific action or program. The Web server searches the list for an entry that matches the file extension for the requested file. Most servers handle unmatched file extension by offering to download the file to your computer. Some server also provide a default action if you request a URL that does not contain a file name.

In this case, most servers try to return one of a list of default file names usually a file called. You may be able to configure the default file name for your server, either globally for all virtual directories on that server, or for each individual virtual directory on that server. The server can begin streaming the response back to the client as it generates the response, or it can buffer the entire response and send it all at once when the response is complete. There are two parts to the response the response header and the response body. The response header contains information about the type of response. Among other things, the response header can contain a response code, the MIME type of the responses, the date and time after which the response is no longer valid, a redirection URL, and any cookie values the server want to store on the client. Cookies are text strings that the browser saves in memory or on the client computer’s hard drive.

The cookie may last for the durations of the browser session, until a specified expiration date, or permanently. The browser send cookies associated with a site back to the server for each subsequent request for that site. What the Client Does with the Response. The client, usually a browser, needs to know the type of content with which the server has responded. The client reads the MIME type header to determine the content type. For most requests, the MIME type header is either text or an image type such as image, but it might also be a word processing file, a video or audio file, an animation, or any other type of file. Browsers, like servers, use registry values and MIME type list to determine how to display the file. For standard HTML and image files, browsers use a built-in display engine.

For more information visit to- Website Designing Service And Website Designer

Processing your request, Please wait....