Need Instructions on Setting up an ASP Application

S

SMAccount

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.
 
T

Terren

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
 
J

Jeff Cochran

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
 
S

SMAccount

OK thanks, but how do I add a virtual folder to an application and
"mark" it as being part ot the application?
 
S

SMAccount

OK thanks, but how do I add a virtual folder to an application and
"mark" it as being part ot the application?
 
J

Jeff Cochran

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
 
S

SMAccount

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?
 
S

SMAccount

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?
 
B

Bob Barrows

SMAccount said:
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
 
S

SMAccount

So does IIS prevent one from assigning the same physical folder to two
applications by associating two different virtual folder names with it?
 
B

Bob Barrows

SMAccount said:
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
 
J

Jeff Cochran

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
 
J

Jeff Cochran

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,581
Members
45,056
Latest member
GlycogenSupporthealth

Latest Threads

Top