Tagged Questions
2
votes
3answers
460 views
Error using current SPWeb from HttpModule
Is it allowed to access SPWeb and specifically SPWeb.ID from PreRequestHandlerExecute ?
Writing an HttpModule [SharePoint2010] and trying to access current web ID using this line of code :
private ...
2
votes
1answer
1k views
SPWeb.CurrentUser gives wrong result when called from HttpModule
I am trying to get the current logged-in SharePoint username through SPWeb.CurrentUser. This usually provides the results I am expecting, except in one instance.
I am logged into my development ...