-
-
How to Display images using Response object?
A. Contenttype=Application/Brush B. Contenttype=Image/JPG C. Contenttype=Application/paint D. Contenttype=Image/WMF
-
What is the difference between client-side script and server-side script?
Scripts executed only by the browser without contacting the server is called client-side script. It is browser dependent. The scripting code is visible to the user and hence not secure. Scripts executed by the web server and processed by the server is called server-side script.
-
-
What is the command to display characters to the HTML page?
Response.Write
-
What is Session Object?
It stores information about a User’s session. Gives a notification when a user session begins or ends.
-
What does the above code accomplish?">
<% Response.Redirect("http://www.sql.com") %> What does the above code accomplish?
A. It sends the browser the line of sample code, and the browser executes it. B. It sends the response to "http://www.matsystems.com" instead of to the Requesting browser. C. It sends a redirection header back to the browser, and the browser then requests the new target document. D. The redirection occurs on the server-side, and the first response the browser gets is the head and body of the new target...
-
How are sessions maintained?
A. The browser sends a cookie to the server with each request. B. The browser sends a Querystring variable to the server with each request. C. The browser sends a hidden Form variable to the server with each request. D. The browser sends a long variable to the server in the BODY of each request. E. None of the above.
-
-
-
-
How many Max Cookies can we create in Server?
A. 10 B. 20 C. 30 D. 40
-
Name the ASP Objects?
• Request Object • Response Object • Server Object • Session Object • Application Object
-
When does the application OnEnd event handler fire?
A. After every request for an application document, since web servers are stateless servers. B. As soon as there are no open connections to any application document. C. When the web server is stopped in an orderly fashion. D. Twenty minutes after the last request for a document in the application. E. When there are no application requests for the amount of time defined by the SessionTimeout variable....
-
Which of the following are Server Object methods ( Choose Two)
A. HTMLEncode,MapPath B. URLEncode,ScriptTimeout C. URLEncode,CreateObject D. ScriptTimeout,Abandon
-
IsClientConnected is a property of
A. Server B. Response C. Request D. Session
-
How Many Types of Cookies
A. 3 B. 2 C. 1 D. 4
-
How long is a SessionID guaranteed to be unique?
A. It is unique for the web server, whether it is restarted or not. B. Only until the web server is restarted. C. It is like a GUID in that it is for any web server at any time. D. Only until the session expires, then it can be reissued to another client. E. It is unique per client. A client cannot have two sessions with the same SessionID
-
What is the use of following Statement Response.Expires=120
A.The page will be removed form cache after 120 Hours B.The page will be removed form cache after 120 Sec C.The page will be removed form cache before 120 Min D.The page will be removed form cache after 2 Hours
-
ASP Interview Questions
Ans