test whether a path is in public web directory?
- From: flipdoubt <flipdoubt@xxxxxxxxxx>
- Date: Sat, 03 Sep 2005 04:40:14 -0700
Are there any specialized methods for determining whether a path or UNC points to a location within a site's web directories? Are there any methods for turning an absolute path into a relative URL?
My app has UNCs stored in a database and needs to serve the files that the UNC points to. If the UNC is within the site, I just need to return a relative path. If it isn't, I need to copy the file to a public cache and return a relative path to the cached file.
.
- Prev by Date: Re: Object reference not set to an instance of an object using globalization
- Next by Date: Does Visual Studio provides any free webpart to be used for Portals?
- Previous by thread: using asp:textbox as search box, handling enter in textbox
- Next by thread: Does Visual Studio provides any free webpart to be used for Portals?
- Index(es):