An HTTP module is an assembly that is called on every request made to your application. HTTP modules are called as part of the ASP.NET request pipeline and have access to life cycle events throughout the request. HTTP modules therefore give you the opportunity to examine incoming requests and take ...

learn more… | top users | synonyms

4
votes
1answer
792 views

Connecting with a java client to sharepoint with NTLMv2

I am using MAC and LINUX, java6 and apache http-client 3.1 to connect to sharepoint with NTLM auth. I connect to ntlm using http://jcifs.samba.org/ and it worked fine until I had to connect to ...
2
votes
1answer
242 views

HTTP Handler not working for MS office extensions

I am trying to map a custom HTTP handler for *.pptx files and for some reason this is not working. My HTTP handler does nothing else other than sending an email when a powerpoint file is accessed. I ...
1
vote
1answer
108 views

How to automatically sign in user from HttpModule

If a request to a certain site collection comes in from an anonymous user, I want to do a sign in as a specific user. For this I would like to use a HTTP module. So basically I want to do something ...
1
vote
1answer
103 views

Logging document library views with HttpModule in SharePoint 2010

I am really new to SharePoint and got an assignment of logging Document Views into an external database in SharePoint 2010... While searching over the web, I have got lot of articles on the auditing, ...
0
votes
1answer
118 views

Global.asax requires AllowPartiallyTrustedCallers on assembly with child class of SPHttpApplication

In my class NinjectSPHttpApplication I have inherited SPHttpApplication class in order to use Ninject as IOC container. When I set global.asax to inherit from this class it throws an exception that ...
0
votes
1answer
168 views

Authorization against a user's membership in certain SharePoint groups via HttpModule

I'm trying to restrict access to certain pages of a SharePoint Web Application based upon a user's membership in certain SharePoint groups (restricting access to specific pages and functions, while ...
2
votes
0answers
54 views

Get a httpModule before SPRequest

I am currently supporting an application running on SharePoint 2007 and have run in to a problem with the order of httpModules. I've written a module that initiates context needed by our role ...
1
vote
0answers
323 views

Custom HttpModule behaves differently with classic site pages and publishing pages

I have a custom HttpModule which purpose is to check the presence of a specific cookie. If the cookie is not present, an error message should appear in place of the page. The http module works as ...
1
vote
0answers
1k views

Why isn't the session_end event in my HttpModule firing?

I deployed an HttpModule that needs to do something in session_start and session_end events. I think everything's just fine, because I enabled the session state and set it to "InProc" mode and defined ...
1
vote
0answers
666 views

why im getting error “404 NOT FOUND” when adding HttpModule in Sharepoint 2010?

I developed a httpmodule that inherits from IHttpModule to use "Session_Start" event, add the output dll to GAC and adds the "add" tag into web.config in "modules" section. All things seem to be ok ...
0
votes
0answers
8 views

Is it possible to handle other error codes, except for 404

How can I redirect users when error code 500 occurred. For example, when users enter the link below: http://www.mysite/Pages/%7B%7Bpage.Url%7D%7D , I want to redirect users to the MyErrorPage.aspx, ...
0
votes
0answers
105 views

Sharepoint 2010 | Authentication & Authorization

We have a windows application based on .NET framework 2.0. It uses windows authentication. It also maintains the user details like userid, valid from date, valid to date, active/inactive flag in its ...
0
votes
0answers
432 views

HTTPModule Filter returns corrupt data when reading file from SharePoint Document Library

Let's prove how much better the SharePoint Overflow community is as on Stack Overflow there is a big silence when things become difficult, at least for this question. I'll omit the wall of text, for ...