ASP Cheat Sheet

Reviews
Shared by: Jeffreywood
Stats
views:
2
rating:
not rated
reviews:
0
posted:
8/18/2009
language:
English
pages:
0
Methods Request BinaryRead Response AddHeader AppendToLog BinaryWrite Clear End Flush Redirect Write Application Lock Unlock Session Abandon Server CreateObject Execute GetLastError HTMLEncode MapPath Transfer URLEncode Functions ASP / VBScript REGULAR EXPRESSIONS - PATTERNS ^ $ . Start of string End of string Any single character FUNCTION ARGUMENT ORDERS DateAdd(Interval, Number, Date) DateDiff(Interval, Date1, Date2) InStr(Start, String, Substring, Compare) FormatDateTime (Date, DateFormat) Join(Array, Delimiter) Left(String, Length) Replace(Haystack, Needle, Replacement) Split(Expression, Delimiter) FILE MODES 1 2 3 Reading Writing Appending (a|b) a or b REGULAR EXPRESSIONS - MODIFIERS (...) Group section [abc] Item in range (a or b or c) /g Global matching [^abc] Not in range (not a or b or c) /i Case insensitive [a-z] Any lower-case letter /s Single line mode [A-Z] Any upper-case letter /m Multi line mode [0-9] Any numeric digit a? Zero or one of a a* a+ a{3} a{3,} a{3,6} Zero or more of a One or more of a Exactly 3 of a 3 or more of a String FormatCurrency InStr LCase Left Len Mid Replace Response.write Right String StrReverse Trim UCase Date Date DateAdd DatePart DateSerial Day FormatDateTime Hour Minute Month MonthName Now Second Weekday WeekdayName Year Arrays Join Redim Split Ubound Mathematical Abs Atn Cos Exp Log Rnd (Randomize) Round Sin Sqr Sgn Tan Properties Response Buffer CacheControl Charset ContentType Expires ExpiresAbsolute IsClientConnected Pics Status Request TotalBytes Session CodePage LCID SessionID Timeout Server ScriptTimeout Error ASPCode ASPDescription Category Column Description File Line Number Source Between 3 and 6 of a !(pattern) "Not" prefix. Apply rule when URL does not match pattern. \b \n \r \ \t \s \w End of word New line Carriage return Escape Character Tab White space Any word (= [A-Za-z0-9_]) COMMON LCID CODES 2057 1033 1036 1031 1034 English (UK) English (US) French (France) German (Germany) Spanish (Spain) STRING CONSTANTS VbCr VbCrLf VbFormFeed VbLf VbNullChar VbNullString VbTab Carriage Return VbCr and Line Feed Form Feed Line Feed Null Character Null String Tab Character DATE FUNCTION ARGUMENTS yyyy q m y d w ww h n s Year Quarter Month Day of Year Day Weekday Week of Year Hour Minute Second COMPARISON CONSTANTS 0 1 2 VBBinaryCompare VBTextCompare VBDataBaseCompare Collections Response Cookies Request ClientCertificate Cookies Form QueryString ServerVariables Application Contents StaticObjects Session Contents StaticObjects REDIRECT WITH 301 HEADER Response.Status="301 Moved Permanently" Response.AddHeader "Location", "http://www.website.com" Response.End INCLUDING A FILE NAMED DATE CONSTANTS 0 1 2 3 4 vbGeneralDate vbLongDate vbShortDate vbLongTime vbShortTime Available free from AddedBytes.com

Related docs
ASP.NET Cheat Sheet
Views: 31  |  Downloads: 3
Cheat Sheet no
Views: 20  |  Downloads: 0
ASP Cheatsheet
Views: 79  |  Downloads: 15
Connection Cheat Sheet
Views: 0  |  Downloads: 0
New Cheat Sheet
Views: 11  |  Downloads: 1
2007 2008 Cisco Cheat Sheet
Views: 816  |  Downloads: 9
New Cheat Sheet
Views: 0  |  Downloads: 0
DevConnect Cheat Sheet
Views: 50  |  Downloads: 4
ASPNET Basics
Views: 131  |  Downloads: 20
asp
Views: 33  |  Downloads: 3
Server-side Cheat Sheet
Views: 36  |  Downloads: 1
Building your own ASP
Views: 1  |  Downloads: 0
Other docs by Jeffreywood