Link to home
Start Free TrialLog in
Avatar of melinalt
melinaltFlag for United States of America

asked on

http handler to check null requests .NET 3.0

I have a VB .NET Web Application (.NET 3.0) which has custom session management (written by another developer).
Some times when the session objects are null the application displays the following error instead of redirecting the user to the login page.
"Object reference not set to an instance of an object".
To get rid of this message, I am thinking on creating an http handler that checks all requests looking for null values (if session object/value is null then redirect user to login page).
Unfortunatelly, I don't have experience with http handlers.
I will appreciate any references, links, code examples regarding how to build this handler.
Thanks,

ASKER CERTIFIED SOLUTION
Avatar of melinalt
melinalt
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial