Changes between Version 12 and Version 13 of WikiStart
- Timestamp:
- 01/27/14 12:00:38 (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
WikiStart
v12 v13 163 163 == {{{Page.OnPreInit}}} == 164 164 165 The last step is to add continuation validation at some point in the page lifecycle. Clavis checks that all the protected parameters hash to the same HMAC value as specified in the URL. If they don't, an exception was thrown indicating that a protected parameter was incorrectly changed. I typically do this in {{{Page.OnPreInit}}} in a custom System.Web.Page base class:165 The last step is to add continuation validation at some point in the page lifecycle. Clavis checks that all the protected parameters hash to the same HMAC value as specified in the URL. If they don't, an exception is thrown indicating that a protected parameter was incorrectly changed. I typically do this in {{{Page.OnPreInit}}} in a custom System.Web.Page base class: 166 166 {{{ 167 167 protected override void OnPreInit(EventArgs e)