Walter.Web.FireWall
PageRefreshAttribute Constructor(Int32,Int32,Int32,String)
Walter.Web.FireWall Assembly > Walter.Web.FireWall.Annotations Namespace > PageRefreshAttribute Class > PageRefreshAttribute Constructor : PageRefreshAttribute Constructor(Int32,Int32,Int32,String)
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 fully qualified URL to redirect to, typically an external link or a link with several query parameters
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.
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
blockDurationSeconds
duration a requests are blocked
redirectToUrl
The fully qualified URL to redirect to, typically an external link or a link with several query parameters
Exceptions
ExceptionDescription
Redirect may not be null or empty - redirectUrl
The url provided by redirect url is not valid, the format is not a full valid url
Remarks
This method is designed to be used in annotations
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