Walter.Web.FireWall
GeoIgnoreAttribute Constructor(Int32,TimeSpan)
Walter.Web.FireWall Assembly > Walter.Web.FireWall.Annotations Namespace > GeoIgnoreAttribute Class > GeoIgnoreAttribute Constructor : GeoIgnoreAttribute Constructor(Int32,TimeSpan)
The maximum request in session.
duration of the scoped session
Tells the firewall to ignore this endpoint if the total times the page was requested in the current session is less than the maximum requests specified
Syntax
public GeoIgnoreAttribute( 
   int maximumAttempts,
   TimeSpan maximumAttemptsIn
)

Parameters

maximumAttempts
The maximum request in session.
maximumAttemptsIn
duration of the scoped session
Exceptions
ExceptionDescription
Skipping requests only makes sense if you add a value grater that 0 - maxRequest
maxRequest must be above 0
Remarks
You should combine this with a FireWall annotation excluding UserTypes as Bots will always be blocked as they ignores the session cookie
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

GeoIgnoreAttribute Class
GeoIgnoreAttribute Members
Overload List