Articles tagged with: AllowUnsafeUpdates

Oct26

AllowUnsafeUpdates set to false automatically

Written by // Rogério Cruzeiro Categories // Brain Dump

When you're persisting some property running with elevated priveligies, you have to set AllowUnsafeUpdates in order to bypass the security validation when you call the Update() method.

Bare i mind that any Exception (handled or otherwise) occur during the execution of your code, for instance: a try catch block, the AllowUnsafeUpdates property is setted back to false.