locked
Name of virtual folder while executing IHttpHandler RRS feed

  • Question

  • User365609399 posted

    How to programmatically determinate name of virtual folder in the ashx handler? I am able to determinate host and port with help of Request.Url.Host and Request.Url.Port, but how to determinate name of virtual folder? <?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p>

    Wednesday, May 31, 2006 2:44 PM

All replies

  • User-2001980297 posted
    You can get the virtual path of the page you are requestinf by "Request.Path". Then you can parse this string to get the virtual directory.
    Thursday, June 1, 2006 9:21 PM