General Questions:
1. Instance Persistence -
Does ASP support the concept of persistence
across requests or are the
pages always re-loaded and interpreted
for each client
request?
Pages are always loaded by ASP when they are
requested by a client.
3. Servlet Chaining and Filters - Does ASP
support the ability
to perform these types of tasks?
No, not to my
knowledge.
4. getLastModified() - Does ASP have a way of
checking/updating
the fact that a given content has been updated or does it
assume
that the page logic must be run for each request? For example, my
stock
quote application sets the time the quote was last updated. If
a
user checks the quotes more than once in the same 15 minute
period,
getLastModified() will inform the server that the content has
not
changed.
Using File System Objects (COM) in ASP, you have
access to information about files and directories on the underlying NT File
System. You can read attributes about existing files/directories as well as
create and/or delete files/directories from the file system (assuming you have
the necessary permissions).
5. Interservlet Communication - Does ASP provide
a way for one
page's code to communicate/share information with another
page's code?
You
can pass parameters from one ASP page to another if you imbed the parameters
in the URL (QueryString).
Session Tracking Questions:
1. The
Session Tracking API - Does ASP provide anything which serves
the same
functionality as the Session Tracking API?
There are session objects in ASP for holding
variables/objects between client requests. However, as of ASP 2.0, session
objects solely relied upon cookies for their implementation. So if the client
didn't allow cookies to be set, you were pretty much out of
luck.
Session objects in ASP have always been buggy, in
fact most ASP references will tell you to use them only if you really have to.
Hidden form elements and/or hidden frames are much better ways for keeping
session info.
Database Questions:
1. Connection
Pooling - Does ASP have a way of establishing and
maintaining a connection
pool or does database connection and
validation accompany each
request?
Yes, ASP supports connection pooling for
database access.
ryan