IT SOLUTIONS
Your full service technology partner! 
-Collapse +Expand
ASP Classic
Search ASP Classic Group:

Advanced
-Collapse +Expand ASP Classic Store

Prestwood eMagazine

March Edition
Subscribe now! It's Free!
Enter your email:

   ► eMag   Print This    All Groups  
View Group Edition:
Full Edition Your Edition || Prev Next || Subscription Center

Prestwood IT Newsletter Nov 2013 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.

Prestwood eMag
Our monthly opt-in coupons+newsletter.
portal.prestwood.com
  November 2013 - ASP Classic Edition Year 15 Issue 11  
Your full service technology partner!


Expert guidance from working professionals!
Lighter Side topic:
Scrambled Text
by Mike Prestwood
Apparently if the first and last letters are correct, the rest don't matter.





 ASP Classic Group Top 
Visit Group | My Group Settings
Language Basics topic (classic post):
Clear Application and Session Variables Using ASP classic
by Mike Prestwood

Use Application.Contents.RemoveAll and Session.Contents.RemoveAll


 Monthly ASP Classic Lesson
OOP Topic:
Code Snippet of the Month

ASP classic uses the property keyword and special Get and Let methods to both get and set the values of properties.

Class Cyborg

 Private FCyborgName
 
 Public Property Get CyborgName()
  CyborgName = FCyborgName
 End Property
 
 Public Property Let CyborgName(pCyborgName)

  FCyborgName = pCyborgName
 End Property
End Class
Language Details Topic:
Question:

What is the syntax in ASP Classic for using an associative array?


Answer:

Use a dictionary:

Dim StateList
 
set StateList = Server.CreateObject("Scripting.Dictionary")

StateList.Add "CA", "California"
 
Response.Write "NV is " & StateList("NV")

For more examples, refer to our ASP Classic Associative Array (Scripting.Dictionary) article.

Language Details Topic:
Tip of the Month
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.


Sales Website: www.prestwood.com Or visit our legacy sales site: 
legacy.prestwood.com


©1995-2024 Prestwood IT Solutions.   [Security & Privacy]