• +91 9971497814
  • info@interviewmaterial.com

Computer Interview Questions Answers

ASP Interview Questions Answers

Question - 61 : - What is the command to display characters to the HTML page?

Answer - 61 : - Response.Write

Question - 62 : - How will you delete a Cookie?

Answer - 62 : - By setting its Expires property to any date prior to today Response.Cookies("cookie name"). Expires = Date 1.

Question - 63 : - What is a TextStream object?

Answer - 63 : - It allows you to access(read/write) the contents of text files stored on the web server.

Question - 64 : - What are the methods in Session Object?

Answer - 64 : - The Session Object has only one method, which is Abandon. It destroys all the objects stored in a Session Object and releases the server resources they occupied.

Question - 65 : - What is IIS?

Answer - 65 : - IIS is a Web Server that provides Web services, not only for web pages but also for ftp sites and video and audio services. It integrates with the database facilities of SQL Server.

Question - 66 : - What is a Web Server?

Answer - 66 : - It’s a Computer that provides Web services on the Internet or on a local Intranet. It is designed to locate, address and send out simple HTML pages to all other users who access these pages.

Question - 67 : - When inserting strings into a SQL table in ASP what is the risk and how can you prevent it?

Answer - 67 : - SQL Injection, to prevent you probably need to use Stored Procedures instead of inline/incode SQL

Question - 68 : - What are the ASP Scripting Objects?

Answer - 68 : - The Dictionary object, the FileSystemObject object, TextStream object.

Question - 69 : - What is Request Object?

Answer - 69 : - Gets information from the user. It has five collections by which values can be accessed. They are: Query string, Form, Cookies, Server Variables & Client Certificate

Question - 70 : - Why do we use Option Explicit?

Answer - 70 : - 1. To avoid multiple variables of the same name. 2. Correct answer is - This statement force the declaration of variables in VB before using them.

Computer Contributors

krishan
Rajeev Katiyar
Yes Baroda

Share your email for latest updates

Name:
Email:

Our partners