wwProcess::CheckAntiForgeryToken

Used to check an AntiForgeryToken injected into the page via AddAntiForgeryToken().

Used to prevent Cross-site scripting attacks by preventing remote domain submission using a local only cookie. For more information please the documentation for AddAntiForgeryToken

o.CheckAntiForgeryToken(lnTimeoutSeconds)

Parameters

lnTimeoutSeconds
The number of seconds for which the token is considered valid. Make this is as short as possible - typically a few minutes - for the time required to submit your form.


See also:

Class wwProcess | wwProcess::AddAntiForgeryToken

© West Wind Technologies, 1996-2019 • Updated: 06/29/18
Comment or report problem with topic