Hi Anthony,
First, thank you, Bob, and others for providing good insights and solutions
to specific issues involving ASP programming (as well as the other groups
that you participate in). I respect your collective knowledge and have
learned a lot by reading your thorough replies to others.
I started a new topic because I am trying to align ASP terminology with my
understanding of other programming languages, not trying to specifcally
solve transparent redirection. In that light, I've asked a few questions
such as what delineates a "page" in the ASP way of looking at things, why is
it not appropriate to call a script that completely controls a user's
experience on a site an "application", etc. These questions arose out of
what seems to be an inconsistent use of these concepts both in the ASP
documentation that I've read and in this newsgroup.
I've also tried to keep my examples general, and it seems that this has lead
to some misunderstanding.
Anthony Jones wrote:
"Neil Gould" <ne**@myplaceofwork.comwrote in message
>Anthony Jones wrote:
>>"Neil Gould" <ne**@myplaceofwork.comwrote in message
[...]
In the example that I've been using, "members.asp" is active until
the user logs out, but dozens of ASP scripts can execute during
that session, even if only a few HTML pages are rendered. It's
confusing and not very useful to think that there is only one
"page" called "members.asp", though that seems to be the way that
some are using the term. I could see "members.asp" as a
"meta-script", and have instead called it an "application", as
that is what it would be in other programming contexts. ;-)
What do you by ' "members.asp" is active" ??
That it is awaiting user action.
Bizarre. In that sense then all scripts are always active, since any
can be invoked by a user action.
I don't think that "all scripts are always active"... but my use did
differentiate between "active" and "running". That is why I asked the
question in response to your comment:
>>Once a request is complete the script context is reset. Apart from
the values stored in the application and session objects there is no
script that remains 'active'.
Since a While/Wend or some other on-going background activity of a
script appears to provide exceptions to the above statement, your
usage seems to be a distinction without a difference. Could you
clarify?
A script containing one of these conditions would be running, but aside from
the CPU time being consumed it may not be functionally different from
"members.asp" awaiting user action.
Perhaps it is more correct to say that the _session_ is active, but that
implies to me that any number of scripts could be run. As members.asp is the
only script that can be run, and it would be inappropriate to call
members.asp a "session", this would seem to be another distinction without a
difference.
I again apologize for any confusion created by my general answers to your
questions. I really am only trying to get a better understanding of the
terminolgy in the hope that I can better communicate any specific issues
that I might have in the future.
Best,
Neil