HTTP Module and Application path
ASP.NET
2
Posts
2
Posters
2
Views
1
Watching
-
Hello, I've written an HTTPModule that process HttpContext.Response's data, I need to open an .xml file that's located into application's path (where there's web.config)... for now I've written "C:\\InetPub\\......" but I want to better the code....... how I obtain that??? Thanks Bests Paolo
-
Hello, I've written an HTTPModule that process HttpContext.Response's data, I need to open an .xml file that's located into application's path (where there's web.config)... for now I've written "C:\\InetPub\\......" but I want to better the code....... how I obtain that??? Thanks Bests Paolo
use virtual path. on putting "../" you go to parent folder of the current directory
cheers, Akhilesh Yadav