|
Mann Software > SharePoint and the Office System > Posts > HttpContext in Event Receivers
|
3/11/2010A number of people (notably here, here and here) have written about ways to get a value for HttpContext.Current inside a SharePoint event receiver. They all correctly note that it only works for synchronous events, which makes perfect sense. What they don't mention is that it does NOT work for all synchronous events – notably ItemDeleting. HttpContext.Current is always null in ItemDeleting. |
|
|
|
|
|
|