471,108 Members | 1,700 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,108 software developers and data experts.

Need Instructions on Setting up an ASP Application

I have not used ASP before. Are there cookbook instructions for how to
set up an asp directory structure. It is not clear to me how I must
mark directories (virtual or physical), so they will all be considered
to be part of the same application. Thanks.

Sep 27 '05 #1
12 1677
Firstly you need to have IIS installed. This will create a directory on
your c:\ drive (assuming you have installed it to c:) called
C:\Inetpub. In this folder there is a directory wwwroot.

In this folder you must create other folders for each web app that your
are going to make. So your web directory could be
C:\Inetpub\wwwroot\firstwebapp.

In firstwebapp you put all your asp, html etc files. I suggest you also
use folders with in this folder to sort the file logically.

Once you have created your files, open your browser and enter the
following to view your app

http://localhost/firstwebapp/firstpage.asp

I think that that is a pretty good start. It is actually really easy
and most problems can be solved just by looking on the net for help

Sep 28 '05 #2
On 27 Sep 2005 15:23:17 -0700, "SMAccount" <SM*******@gmail.com>
wrote:
I have not used ASP before. Are there cookbook instructions for how to
set up an asp directory structure. It is not clear to me how I must
mark directories (virtual or physical), so they will all be considered
to be part of the same application. Thanks.


For ASP, there si no required structure. You're describing ASP.NET
settings, which would be a different group. The ASP.NET groups have
dotnet in the name, the ASP Classic groups have just ASP.

Jeff
Sep 28 '05 #3
OK thanks, but how do I add a virtual folder to an application and
"mark" it as being part ot the application?

Sep 28 '05 #4
OK thanks, but how do I add a virtual folder to an application and
"mark" it as being part ot the application?

Sep 28 '05 #5
On 28 Sep 2005 13:40:30 -0700, "SMAccount" <SM*******@gmail.com>
wrote:
OK thanks, but how do I add a virtual folder to an application and
"mark" it as being part ot the application?


In ASP you don't. In ASP.NET you can, but that's an ASP.NET question,
which isn't what this group covers. Try the groups with "dotnet" in
the name.

Jeff
Sep 29 '05 #6
It is my understanding that in a CLASSIC (not a dot net!) ASP
Application, the following happens:

(1) All code in the "application" shares a common Application Object.

(2) For each user "session", all code in the application shares a
common Session Object.

I could be wrong, but if the above two assertions are true, then there
would have to be a way of identifying which .asp files belong to the
same application. True or false?

Sep 29 '05 #7
It is my understanding that in a CLASSIC (not a dot net!) ASP
Application, the following happens:

(1) All code in the "application" shares a common Application Object.

(2) For each user "session", all code in the application shares a
common Session Object.

I could be wrong, but if the above two assertions are true, then there
would have to be a way of identifying which .asp files belong to the
same application. True or false?

Sep 29 '05 #8

"SMAccount" <SM*******@gmail.com> wrote in message
news:11*********************@f14g2000cwb.googlegro ups.com...
It is my understanding that in a CLASSIC (not a dot net!) ASP
Application, the following happens:

(1) All code in the "application" shares a common Application Object.

(2) For each user "session", all code in the application shares a
common Session Object.

I could be wrong, but if the above two assertions are true, then there
would have to be a way of identifying which .asp files belong to the
same application.
Sorry, I don't follow this logic. This conclusion seems to be a non
sequitor.
True or false?

False.
All subfolders of the application folder are considered to be part of the
application.

Bob Barrows
Sep 30 '05 #9
So does IIS prevent one from assigning the same physical folder to two
applications by associating two different virtual folder names with it?

Sep 30 '05 #10

"SMAccount" <SM*******@gmail.com> wrote in message
news:11**********************@f14g2000cwb.googlegr oups.com...
So does IIS prevent one from assigning the same physical folder to two
applications by associating two different virtual folder names with it?

I've never tried it, but I suspect this is is not prevented. It's the
virtual directory that provides the context, afaik. Give it a try - should
take you 10 min. to set up a quick test for this.
You may get a more authoritative answer in the .iis newsgroup.
Bob Barrows
Sep 30 '05 #11
On 29 Sep 2005 06:55:49 -0700, "SMAccount" <SM*******@gmail.com>
wrote:
It is my understanding that in a CLASSIC (not a dot net!) ASP
Application, the following happens:

(1) All code in the "application" shares a common Application Object.

(2) For each user "session", all code in the application shares a
common Session Object.

I could be wrong, but if the above two assertions are true, then there
would have to be a way of identifying which .asp files belong to the
same application. True or false?


False. It doesn't work that way. No ASP files belong to any
"application" as you seem to be defining it. ASP is interpreted by
the web server as each file is requested. Sessions belong to the
user, not the "application". Some application state can be achieved,
but it's not the same as an ASP.NET application.

Jeff
Oct 2 '05 #12
On 30 Sep 2005 07:48:10 -0700, "SMAccount" <SM*******@gmail.com>
wrote:
So does IIS prevent one from assigning the same physical folder to two
applications by associating two different virtual folder names with it?


In Classic ASP, virtual folders aren't assigned to applications. They
are simply virtual folders, a way of pointing to a folder outside the
web folder hierarchy. There is no problem with pointing to the same
physical directory, since the physical files and virtual directory
have nothing to do in Classic ASP except house a script file.

Jeff
Oct 2 '05 #13

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by Mike | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.