1. What clause is convenient for debugging ASP pages?:

    Whenever you need a variable value insert Response.Write, name of variable then. This is most usable ASP string

  2. What is the purpose of using Response.Expires?:

    When browser opens a page it retreives data from a cache at first. To force browser to get data from original source use Response.Expires at the page top.

  3. What are advantages of using ASP over CGI?:

    ASP inherited some advantages of ISAPI. The main point is following: when browser makes request to server it doesn't start a separate process on server if ASP was used. CGI creates overhead on server because every new request creates a new process. If server is popular, gets many hits, it becomes slow. Using ASP is much more effective on high load servers.

  4. Is this true: every HTM file is ASP file, but not every ASP file is HTM file?:

    That's true. You can take a file with HTM extension and chande extension on ASP extension. It would work as ASP file as it is. Actually HTM files are subclass of ASP files. It means if you substitute ASP extension with HTM extension it generates an error in common.

  5. What program handles ASP files processing on IIS?:

    ASP files are executed by web server ASP.DLL file located normally at c:\winnt\system32\inetsrv\ directory. When request for execution of ASP file comes from a browser it actully goes to ASP.DLL at first.

  6. What is the current version of ASP?:

    As for today, August 1999, developers have ASP version 2.0. Coming ASP 3.0 contains some minor new features.

  7. Can I treat the output of using Session, Application, Request and other ASP objects as string variables?:

    Yes you can and you should. For example if you using WHERE clause in string of SQL statement: "...WHERE='09/30/99'" and want to pass date by Session object you would use: "...WHERE='"+Session("date")+"'".

  8. Does ASP code case sensetive?:

    No. It does not. ASP code is not case sensetive like VBScript, HTML and unlike JavaScript.

  9. Where to find ASP sample codes?:

    This is simple even if you with your NT 4.0 notebook on the beach and don't have internet connection. Questbook files "questbook.asp" and "signbook.asp" give a good understanding how ASP works. They are located at c:\InetPub\iissamples\homepage\ directory. Windows NT 4.0 Option Pack should be already installed. It may be confusing at first, but gradually you can pick up some ideas from these files. If you are working with IIS 4.0 server try c:\winnt\system32\inetsrv\iisadmin\ folder.

  10. What is an idea behind ASP?:

    ASP is browser neutral. Any browser is compartible with ASP code. It was Microsoft idea to execute all browser dependant code on server and this is performed by using ASP. All code between <%, %> delimiters is executed on server.