ACTIVE SERVER SIDE SCRIPTING PROGRAMMERS REFERENCE IN ASP

Tips >> ASP

WANTS TO MAKE SOFTWARE WITHOUT KNOWLEDGE OF ASP? CLICK HERE

ASP is known as Active Server Pages. Active Server Pages has ultimately proven to be of significant value to developers and fueled a revolution in the development of Web-based applications. ASP employs a scripting environment and VBScript is the default scripting language of choice. These Quick Reference is now available for purchase in PDF format for easy off-line viewing and printing. Active Server Pages (ASP), which managed to arrive just in time for the explosive growth of the World Wide Web, was a next logical step for Web-based application development. In the good old days (a few years ago!), most Web sites were created with HTML and simply displayed static pages. The true power of ASP is the ease and rapidity with which developers can create and implement dynamic Web sites.

 

 

The seven built-in objects are :-

  • Application
  • ASPError
  • ObjectContext
  • Request
  • Response
  • Server
  • Session
  •  

    • Operators

    The following operators are supported in ASP server-side scripts :-

    • Addition (+)
    • And
    • Assignment (=)
    • Concatenation (&)
    • Division (/)
    • Exponentiation (^)
    • Is
    • Equals (=)
    • Greater Than (>)
    • Greater Than or Equal to (>=)
    • Less Than (>)
    • Less Than or Equal to (>=)
    • Mod
    • Multiplication (*)
    • Negation (-)
    • Not
    • Not Equal To (<>)
    • Or
    • Subtraction (-)
    • Xor

     

    Functions And Procedures

    • Abs (n: number) :- Function. Returns the absolute value of n.
    • Chr (asciicharcode: number) :- Function. Returns a string containing the ASCII character specified by asciicharcode.
    • Date :- Function. Returns the current system date as a string.
      day (thedate: string)
    • Day(thedate: string) :- Function. Extracts the day of the month from thedate and returns it as a number.
    • Hour (thetime: string) :- Function. Extracts the hour value from thetime and returns it as a number.
    • Left (thestring: string, n: number) :- Function. Returns a string containing the first n characters of thestring.
    • Len (thestring: string) :- Function. Returns the number of characters in thestring.
    • Minute (thetime: string) :- Function. Extracts the minutes value from thetime and returns it as a number.
    • Month (thedate: string) :- Function. Extracts the month value from thedate and returns it as a number.
    • Monthname (themonth: number) :- Function. Returns a string containing the name of the month whose number is specified by the month.
    • Now :- Function. Returns the current system date and time.
    • Request.Form (fieldname: string) :- Function. Returns the contents of the field whose name is fieldname.

    • Server Variables

    • Request.ServerVariables ("HTTP_User-Agent") :- Function. Returns the client browser type as a string.
    • Request.ServerVariables ("REMOTE_ADDR") :- Function. Returns the client's IP (Internet protocol) address as a string.
    • Request.ServerVariables ("REMOTE_HOST") :- Function. Returns the client's domain name as a string.
    • Request.ServerVariables ("SERVER_NAME") :- Function. Returns the domain name of the server as a string. If the server has no domain name, returns the server's IP address as a string.

    • Additional Server Variables

    • Response.redirect (anotherURL: string) :- Procedure. Redirects the current request to one specified by anotherURL.
    • Right (thestring: string, n: number) :- Function. Returns a string containing the last n characters of thestring.
    • Second (thetime: string) :- Function. Extracts the seconds value from thetime and returns it as a number.
    • Server.URLEncode (thestring: string) :- Function. Converts thestring from a string to a URL by "escaping" certain characters. For example, each space character is replaced with %20. Returns the URL.
    • Time :- Function. Returns the current system time as a string.
    • Timevalue (thetime: string) :- Function. Extracts the time value from thetime and returns it as a string.
    • Weekday (thedate: string) :- Function. Extracts the weekday value from thedate and returns it as a number.
    • Weekdayname (weekday: number) :- Function. Returns a string containing the name of the weekday whose number is specified by weekday.
    • Year (thedate: string) :- Function. Extracts the year value from thedate and returns it as a number.
     
    E-mail : sales@virtualsplat.com
    Phone : +91-9892413501

    +91-9967648641

    +91-9967648641

    Facebook Google+ Linkedin Twitter