Sometimes the requested page / resource moved to another location, then you have to route such a request to the new URL. This is the redirection.
Sometimes you need to use web application to implement password protected file downloading. This is useful for internal or commercial web application system.
WebRainbow provides the dedicated functions for the redirection and file downloading:
These two functions make redirection and file downloading easy.
The following demo, SendFile, will show the usage of these two functions for redirection and file downloading. It includes two small web applications, UrlRedirect shows how to use Redirect for redirection and FileSend shows how to use SendFile for file downloading, as well as 2 small web applications, Frame and FramePage, to glue them all together and hide all HTML file to make them more secured.
Click on following links to see the source code.
To try this demo, follow the steps list bellow:
Note: All these files are normally in the folder C:\Program Files\WebRainbow\demo\sendfile\ if you did not change the installation directory for WebRainbow.
Good luck!
For the latest information on WebRainbow, please see:
| http://www.dmfsys.com/wrainbow/ |
For questions / comments please email to:
| support@dmfsys.com |
Last modified on March 2, 2005