| |
| Components: Communications: CGI/ISAPI Style |
| Name: TbcISAPIFilter 2.0 |
Date: 6/9/02 4:32:00 PM |
Environment: C++ Builder 4.0, C++ Builder 5.0, C++ Builder 6.0, Delphi 4.0, Delphi 5.0, Delphi 6.0 |
Download |
| Type: Shareware with Source |
Size: 60KB |
Price: $19.95 US Source: $19.95 US |
Online Registration: Available! |
Description: * Do not worry to write and export HttpFilterProc and GetFilterVersion methods.
* Component will export necessary functions.
* Component will register with IIS to receive the events that you have supplied a handler for.
Exported GetFilterVersion will call the TbcISAPIFilter.GetFilterVersion for actual work to be done.
Users are given a chance to do some initialization in event handlers: OnBeforeProcessGetFilterVersion OnAfterProcessGetFilterVersion or it is also possible to do initialization in DllMain, or Initialization section of a Delphi Unit.
GetFilterVersion tells IIS which and what kind of notifications it should receive.
GetFilterVersion knows which notifications it should register for by looking at the event handler functions assigned for an event that represents a notification.
GetFilterVersion makes sure that request to receive the related notification message is sent to the IIS.
Users of this component can assign event handlers at runtime in the OnBeforeProcessGetFilterVersion event handler.
After OnBeforeProcessGetFilterVersion, it is too late to assign event handlers for notification messages. But users at any time can still assign OnException, OnDestroy.
If the need arises to handle a notification which was not known when this component was designed, users can supply the OnAfterProcessGetFilterVersion handler and they will be given a last chance to modify the HTTP_FILTER_VERSION structure. Such notifications will be handled by the OnUnknownNotification handler.
Exported HttpFilterProc will call the TbcISAPIFilter.HttpFilterProc for actual handling of the notifications.
This function will call the proper user assigned event handler. Possible event handlers that are called from HttpFilterProc are:
OnReadRawData
OnPreprocHeaders
OnAuthentication
OnUrlMap
OnSendRawData
OnLog
OnEndOfNetSession
OnEndOfRequest
OnAccessDenied
OnAuthComplete (IIS 5.0 and later)
OnExtensionTrigger (IIS 5.0 and later)
OnUnknownNotification (For future IIS versions in case new versions of the component is late to support them explicitly)
If an event handler function is assigned for an event, GetFilterVersion makes sure that request to receive the related notification message is sent to the IIS.
Other useful event handlers: OnDestroy - called when the Filter Object is about to be freed from memory. OnException - called when there is an error.
There are also following event handlers that are called from GetFilterVersion:
OnBeforeProcessGetFilterVersion
OnAfterProcessGetFilterVersion
Component comes as Delphi source code. There is a sample IIS Authentication Filter project that uses this component. There is also a help file. Version 2.0 includes fix for the multi-threading bug which appeared under heavy load on dual CPU. It also includes support for new IIS 5.0 notifications.
|
Additional Information:
- Total downloads between 6/15/02 and 8/30/08: 1306
|
| Author: Bestcode Support |
Home Page |
|
|
|
|
|
| Hits/month |
2,500,000+ |
Downloads (Since May 2000) |
7,393,709 |
| Total Files |
6,023 |
| Forum msgs |
7,670 |
| Articles/FAQs |
70+/900+ |
Top Selling Software at Amazon
|