-
What are Constants?
How will you declare a constant?
-
Which is the default Data types in VBScript?
Variant is the default data type in VBScript, which can store a value of any type.
-
What is Server Object?
Controls the ASP execution environment. It can set the amount of time script can run before an error occurs. Converts a virtual path to a physical path on the server. Takes a user supplied string and encode it into proper format for a URL string.
-
What is Response Object?
It controls the information sent to the user. The various methods are: Response.Write – Sends information directly to a browser Response.Redirect – Directs a user to a URL other than the requested URL Response.ContentType – Controls the type of content sent Response.Cookies – Sets cookie values Response.Buffer – To Buffer information
-
-
-
-
-
-
How will you delete a Cookie?
By setting its Expires property to any date prior to today Response.Cookies("cookie name").Expires = Date – 1.
-
What is the Default ScriptTimeOut for Server Object?
A. 20 Sec B. 30 Sec C. 60 Sec D. 90 Sec
-
-
-
-
-
How to handle Error in ASP
A. Using On Error Goto <ErrorPart> B. Using On Error Resume C. Using On Error Resume Next D. Using On Error Goto 0
-
What does Internet Information Server (IIS) assume to be the default language for Active Server Pages?
A. Jscript B. JavaScript C. JAVA D. VBScript E. ECMAScript
-
ADO is an object model for accessing which of the following?
A. Relational data via Jet. B. Local or SQL data via Jet. C. Relational data via ODBC. D. Non-relational data via DSN-less ODBC. E. All types of data via OLE DB.
-
-
What are the types of HTML?
• Static HTML – Browser uses HTTP to request HTML file from the Web Server • Dynamic HTML – Browser uses HTTP to request an executable application rather than a Static HTML file
ASP Interview Questions
Ans