Tagged Questions
5
votes
2answers
904 views
Do I need to reset SPWeb.AllowUnsafeUpdates after use?
Do I need to reset the SPWeb.AllowUnsafeUpdates property after use?
Seems not, but all over the web there is code like:
bool allowUnsafeOrig = web.AllowUnsafeUpdates;
web.AllowUnsafeUpdates = true;
...