Walter.Web.FireWall
PageRefreshAttribute Constructor(Int32,Uri)
Walter.Web.FireWall Assembly > Walter.Web.FireWall.Annotations Namespace > PageRefreshAttribute Class > PageRefreshAttribute Constructor : PageRefreshAttribute Constructor(Int32,Uri)
The amount of times a page or resource may be re-loaded
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. Implements the System.Attribute
Syntax
public PageRefreshAttribute( 
   int ignoreRefreshCount,
   Uri redirectToUrl
)

Parameters

ignoreRefreshCount
The amount of times a page or resource may be re-loaded
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
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