Prestwood IT Newsletter Jul 2009 Issue - ASP Classic Edition
Subscribe!
Start subscribing now! It's free!
Each month on or after the 1st, and only once a month, we will send you content from up to 5 community groups.
If you select this ASP Classic group, you'll receive the following content below mixed
in with the other groups you elect to include.
A survey was sent to software developers and other software professionals to ask what was important in SDK documentation and where they would like to see improvement. The results indicated that the current state of typical SDK documentation is "Fair", which was the middle choice of five ("Excellent" to "Unusable"). The answers to multiple choice questions indicated that overviews, API references, sample code, and tutorials were all considered high importance, whereas blogs and forums were considered less important. When asked to write what they considered important, sample code was mentioned in 61% of the responses and overviews were mentioned in 30% of the responses. Also mentioned as important were help getting started, explanations of why something should be used, accuracy of information, and the ability to find information easily.
How to fight back against spam and reclaim your inbox. As you may know, the volume of spam messages sent across the Internet
has reached epidemic levels. Some industry experts estimate that three
out of every five e-mail messages that are sent today are spam. The spam
epidemic is costing companies, professionals, and individual users
considerable amounts of time, money, and resources.
What is spam, and what can I do about it? Spam
is generally defined as an unsolicited mailing, usually sent to many
recipients. Most spam is commercial advertising, often for dubious
products, get-rich-quick schemes, or quasi-legal services. Spam costs
the sender very little to send. Most of the costs are paid by the
recipient or the carriers rather than the sender. Some effective methods
for preventing your e-mail address from being captured, sold or abused
by spammers in the full version of this article. Click the title to read more.
Commenting Code
ASP Classic, like all the VB-based languages, uses a single quote (') or the original class-style basic "REM" (most developers just use a quote). ASP Classic does NOT have a multiple line comment.
Preprocessor Directives - @ and #
An @ is used for preprocessor directives within ASP code (within <% %>) and a # is used for HTML-style preprocessor directives.
Note: ASP Classic does not support VB Classic's #If directive.
Error: error 'ASP 0208 : 80004005'
Cannot use generic Request collection
/_private/footer_content.inc, line 72
Cannot use the generic Request collection after calling BinaryRead.
Explanation:
Although you can use the generic request collection, as in Request("SomeValue"), for either Request.Form("SomeValue") or Request.QueryString("SomeValue"), it's best to avoid the generic request collection until it's really needed. The generic request collection causes problems in some circumstances. For example, you cannot call the generic request collection after a BinaryRead.
ASP Classic Topic:
Resource Link of the Month: VBScript Language Reference on Microsoft.com
Although you can use the generic request collection, as in Request("SomeValue"), for either Request.Form("SomeValue") or Request.QueryString("SomeValue"), it's best to avoid the generic request collection until it's really needed. Use a For Each loop to loop through elements.