Thread: CH 4 CSRF
View Single Post
  #2 (permalink)  
Old August 5th, 2010, 01:42 AM
blowdart blowdart is offline
Wrox Author
Points: 39, Level: 1
Points: 39, Level: 1 Points: 39, Level: 1 Points: 39, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jan 2010
Posts: 9
Thanks: 0
Thanked 1 Time in 1 Post
Default

Oh, yes, that would be the wrong initialization string.

You'll need to use

Code:
<system.webmodules>
  ....
  <modules>
    <add name="AntiCSRF.AntiCSRF" preCondition="managedHandler"
 type="AntiCSRF.AntiCSRF, AntiCSRF"/>
  </modules>
  ....
</system.webmodules>
I'll get that put in the errata