X
xeroxero
When a user hits a web page in ASP.NET 2.0, I can use
HttpContext.Current.Server.MapPath("~/mydir") to find the real
filesystem location of a file. But in an event triggered in my
global.asax, there is no HttpContext. How can I get the equivalent
directory?
Thanks.
HttpContext.Current.Server.MapPath("~/mydir") to find the real
filesystem location of a file. But in an event triggered in my
global.asax, there is no HttpContext. How can I get the equivalent
directory?
Thanks.