![]() |
| Home | Tech FAQ | Interview Questions | Placement Papers | Tech Articles | Learn | Freelance Projects | Online Testing | Geeks Talk | Job Postings | Knowledge Base | Site Search | Add/Ask Question |
![]() Related Questions <% Response.Write a %> In the sample code shown above, what will be written to the screen? A. 1 B. 2 C. 1, 2 D. 1&2 E. Nothing. <% Set Application("Thing") = Server.CreateObject("THINGDOER.thingy") %> The above code appears in the global.asa file. What would it accomplish? A. It would create a "Thing" object and place it in Contents Collection of the Application object. B. It would create a "Thing" object and place it in StaticObjects Collection of the A. Type mismatch error B. "Hello World, Hello World, Hello World" C. 0 D. "Hello World 3" E. "Hello World" Latest Answer : The code has not been displayed .plz display the code ... Following is the code Server.MapPath (".") consider the path is C:InetpubWWWRootMATDefault.asp. What will be the output A. C:InetPUb B. C:InetPUbWWWroot C. C:InetPUbwwwrootMAT D. Error • SessionID – returns the session identification number for each user. • Timeout – sets the timeout period assigned to the Session object for any application, in minutes. • CodePage Latest Answer : There are four properties in Session Object. 1. CodePage 2. LCID 3. SessionID 4. ... A. This applies only to Visual Basic, not VBScript. B. All variables must be dimensioned before use. C. All variables are dimensioned at run-time. D. Forces all controls to have a SELECTED option. Latest Answer : Option Explicit is used to trap the undeclared variables or to define the variable before use. To avoid duplicate variable declaration. ... A. objBrowser = Server.CreateObject("MSWC.BrowserType") B. Set objBrowser = Server.CreateObject("MSWC.BrowserType") C. var objBrowser = Server.CreateObject("MSWC.BrowserType") Latest Answer : Set objBrowser = Server.CreateObject("MSWC.BrowserType") ... • ASP executes code on the server side whereas the browser interprets HTML. • ASP can use any scripting languages • Gets feedback from the user and return information to the user • WHY? Latest Answer : on the top of the page. as it forces variables to be declared first before usage ... <% strName="John Smith" %> Referring to the above, if you want to pass the contents of the strName variable in a hyperlink, which line of code would you use? A. This cannot be done. The anchor is on the client and the variable is on the server. B. href="Encode.asp?
Sponsored Links
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||