Sometimes, you might want to get the current page URL that is shown in the browser URL window. For example if you want to let your visitors submit a blog post to Digg you need to get that same exact URL. There are plenty of other reasons as well. In this tutorial we will show how you can do that.
There is a very cool way to download or grab a file using ServerXMLHTTP class. Using this object you could access and download a remote file out side of your website.
This script will open all HTML pages within the specified directory, reduce the file size of your html pages, and the files will be saved back. You may password protect the script, and it will allow a faster transmission of the page. A good script to learn how those task are perform.
It would be important to highlight certain keywords in a message board for example or while searching for a keyword in ASP Search Engine, We are then in need of a function that would highlight certain keywords within the text of the messages.
Would you like to provide multi-language support on your site? This article discusses three different ways in which you could organize your site to support multiple languages.
Prevent unauthorized viewing of website javascript and style sheet files. Simply rename all your style and javascript files to the .asp extension. Then include the validate_view.asp file at the top of each file. Open the validate_view.asp file and change the top the constants to those required. Then finally call the procedure name "validate_view" with the current files content type as the parameter.
This is a sample chapter from Wrox Press book 'Professional Windows DNA.' It prvides info on building web applications with VB, COM+, MSMQ, SOAP and ASP.