Walter.Web.FireWall
PageRefreshAttribute Constructor(Int32,Int32,Int32,String,String,Int32)
Walter.Web.FireWall Assembly > Walter.Web.FireWall.Annotations Namespace > PageRefreshAttribute Class > PageRefreshAttribute Constructor : PageRefreshAttribute Constructor(Int32,Int32,Int32,String,String,Int32)
The amount of times a page or resource may be re-loaded
duration where occurrence is counted in a given time-span
duration a requests are blocked
the controller to redirect to
the action to redirect to
optional argument to pass to the action
Tells the firewall that a page can be refreshed by the user during a page visit, the refresh count is however limited to a specific count, can be 0. Implements the System.Attribute
Syntax

Parameters

ignoreRefreshCount
The amount of times a page or resource may be re-loaded
maximumAttemptsInSeconds
duration where occurrence is counted in a given time-span
blockDurationInSeconds
duration a requests are blocked
redirectToController
the controller to redirect to
redirectToAction
the action to redirect to
id
optional argument to pass to the action
Exceptions
ExceptionDescription
controller mus be provided - controller
action must be provided - action
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

PageRefreshAttribute Class
PageRefreshAttribute Members
Overload List
View the IPageRequest.ViolationsStack to access all violations on the page including those raised by this filter
IFireWall.OnGuardAction: Will be raised if the firewall considers blocking and allows you to override the blocking action
IFireWall.OnIncident: Will be raised if the firewall considers generating an incident and allows you to override the incident registration