Changes between Version 12 and Version 13 of WikiStart

Show
Ignore:
Timestamp:
01/27/14 12:00:38 (10 years ago)
Author:
smagi
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • WikiStart

    v12 v13  
    163163== {{{Page.OnPreInit}}} == 
    164164 
    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: 
     165The 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: 
    166166{{{ 
    167167protected override void OnPreInit(EventArgs e)