ASP.NET HTTP Modules are classes which implement the System.Web.IHttpModule interface.
Questions tagged [httpmodule]
819 questions
-1
votes
1 answer
Detect login in HttpModule
I'm developing an HttpModule and I need to detect a login and logout process. How can I do this?
Any ideas?
Thanks in advance
![](../../users/profiles/1131463.webp)
SYL SYL
- 3
- 3
-1
votes
1 answer
IHttpModule problems
I've asked a question regarding creating an IIS logger, but am still having a couple of issues:
Original message is lost
Response message is not captured
Would it be at all possible to get these 2 sorted out?
IHttpHandler:
using System.Web;
using…
![](../../users/profiles/1121435.webp)
Raytrace
- 5
- 4
-1
votes
1 answer
Get Roles from DB in HttpModule
I have to get roles of a user from DB as per my application nature. I am authenticating user in context.AcquireRequestState += context_AcquireRequestState; event handler in HttpModule. Can I do db calls from HttpModule to assign roles in Identity?…
![](../../users/profiles/1285772.webp)
deen
- 359
- 1
- 3
- 10
-1
votes
1 answer
Why do I get "ERROR in src/app/component.service.ts(9,29): error TS2304: Cannot find name 'Http'." in angular?
I'm using Angular 7, and I have this folder structure
src
app
app.component.css
app.component.html
app.component.spec.ts
app.component.ts
app.module.ts
component.service.spec.ts
…
![](../../users/profiles/1235929.webp)
Dave
- 17,420
- 96
- 300
- 582
-1
votes
2 answers
difference between httphander and httpmodule
I am trying to figure out the difference between httphandler and httpmodule.
In the article mentioned below it says
CodeProject
our application needed URL rewriting and HTTPHandlers are a bad solution for that and should never be used for that.…
![](../../users/profiles/833985.webp)
Tom Cruise
- 1,273
- 6
- 30
- 53
-1
votes
2 answers
MySQL through PHP through Apache on Windows dont work
I am working on a Windows 7(x64) with Apache 2.4 x86, Php54 x86
and MySql 5.6 x64.
PHP is working well on my Apache Web Server.
When i run PHP from CommandLine : php dbTest.php it runs without problems
but when i try to load my page, i get the…
![](../../users/profiles/648368.webp)
Tomer W
- 3,092
- 1
- 22
- 38
-1
votes
1 answer
Intercept target events handlers using HttpModule?
In asp.net webfrom Is it possible to get the name of the event handler witch will be used to handle the user request using HttpModule:
ex if the user click a button btn i would like to get btn_Click as the name of the event handler. That way i can…
![](../../users/profiles/874571.webp)
anouar.bagari
- 2,026
- 18
- 30
-1
votes
2 answers
How to register an HttpModule that is not in the App_code folder
I would like to have my code for an HttpModule somewhere else than in the App_code folder, is that possible?
EDIT: For now, i have my module in a class file in the App_code folder of my web application. I'm successfuly registering it with this line…
![](../../users/profiles/1145827.webp)
Shadowxvii
- 1,030
- 1
- 12
- 30
-2
votes
1 answer
Use of const in strict mode error while running nodeJS code
I have this following NodeJS code.
var url = require('url');
var path = require('path');
var url = require('url');
var fs = require('fs');
var http = require('http');
var port = process.env.port || 3000;
var pub_dir = 'public';
var server =…
![](../../users/profiles/8422049.webp)
Tural Rzaxanov
- 35
- 1
- 6