Accessing local files |
With the purpose of providing secure urls to files that are not located in the application's web tree, we included two methods:
VirtualUI.HTMLDoc.CreateSessionURL(URL, LocalPath) This method allows you to create a virtual URL valid during the session's lifetime.
URL = VirtualUI.HTMLDoc.GetUniqueURL(Filename, lifetime) This method allows you to create a unique virtual URL for a specific file, valid during the time specified in minutes in the Lifetime parameter.
|