2928HTML code reductionhttp://www.asptutorial.info/script/codereductionThis 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.ASP > Tips and Tutorials > MiscellaneousOct 10, 2006
ASP has no interface to access Application data from other environment than VBS/JS in context of ASP page in the same application. But we can create a simple http interface and use the Application object from any other environment - wsh, VBA (Word, Excel), etc.
The basic idea is to make simple ASP page, which will provide a text/http interface to ASP intrinsic objects (specially Application object). We can read/write variables in application dictionary using this ASP script. And we can specify name and value of application variable by a query string to read and write specified variable.
Dynamically include javascript files in your page. Simply place all your javascripts in a sub directory and make one reference in your page to the cs_scripts.asp file. You can then pass + or - with file names to either include
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.
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.
Say you want to write an article about ASP. How do you put ASP code in an ASP page and just display it? How do you tell the server you just want to display the code and not execute it? Here is my solution:
Joining mailing list will entitle you
to receive occasional emails informing you of news and
updates to the site and any special offers that may be
of interest to you.