Posted on: 3/27/2014 1:54:00 PM | Views : 357

suppose my site is hosted in our office server and there are many domain from where user login to our site with windows authentication. also our site is publicly accessible. now i want that when any user try to access our site from out side of our office domain then login page appear other wise no login page appear.
i want to write a http module which will run when any page will be requested and check the user domain name is available and also check the domain name is test then it will allow user to access any page but if user come from out of office then login page comes.
so just guide me which event i should work with authorise or authenticate event and also guide me how to capture the domain name from http module.
i want http module should only work for aspx page not for js/css/image file. so guide me the best way to do it. thanks

Go to the complete details ...