Method | Description | |
---|---|---|
Dispose ( ) : void | ||
Init ( System.Web.HttpApplication context ) : void |
Method | Description | |
---|---|---|
AllowAccess ( Response resp ) : bool |
Verify response and determine whether we want to allow access or not.
|
|
BeginRequest ( object sender, |
||
CreateTimer ( ) : |
Creates the timer that substract a request from the _IpAddress dictionary.
|
|
StartAsyncIpVerification ( String ipAddr ) : void | ||
TimerElapsed ( object sender, ElapsedEventArgs e ) : void |
When an IP is checked, the result is cached for EXPIRATION_INTERVAL_IN_MINUTES minutes. Every REVIEW_ADDRESS_LIST_INTERVAL milliseconds, this method will review the list of cached results and clear out those that should be reviewed.
|
public Init ( System.Web.HttpApplication context ) : void | ||
context | System.Web.HttpApplication | |
return | void |