what is global.asa

A

All Patriots

After installing a program (nothing related to FrontPage I had some problems
with my pc so I deleted the program and did a system restore. Everything
seems to be working well now but I have a new file in my FrontPage web with
the name global.asa and the title is "Web Site Settings for Active Server
Pages".

I don't remember this file being here before and I'm not sure what to do
with it. I am preventing it from being copied to the remote internet server
until I know it belongs there.

It lives in the same folder as my index.htm but as I said, I don't remember
it being there. Does it belong in a different folder? Should I let
FrontPage publish the file?

Thanks for any help.
 
A

All Patriots

Thanks for the reply Clinton. The information helped a little but I'm still
unsure of what I should do with the file.
I don't have any .asp files on my web site so I don't know why FrontPage
created the global.asa file. I'm not sure if I should delete it because I
will, in the future, have .asp files when set up the database and I don't
know if FrontPage will re-create a file that I deleted.

Thanks
 
T

Tom Pepper Willett

Delete it. When you actually need one, *you* will be the one that creates
it.
--
===
Tom "Pepper" Willett
Microsoft MVP - FrontPage
---
About FrontPage 2003:
http://office.microsoft.com/home/office.aspx?assetid=FX01085802
===
| Thanks for the reply Clinton. The information helped a little but I'm
still
| unsure of what I should do with the file.
| I don't have any .asp files on my web site so I don't know why FrontPage
| created the global.asa file. I'm not sure if I should delete it because I
| will, in the future, have .asp files when set up the database and I don't
| know if FrontPage will re-create a file that I deleted.
|
| Thanks
|
| | > Google: "what is global.asa"
| >
| > <%= Clinton Gallagher
| > METROmilwaukee (sm) "A Regional Information Service"
| > NET csgallagher AT metromilwaukee.com
| > URL http://metromilwaukee.com/
| > URL http://clintongallagher.metromilwaukee.com/
| >
| >
| >
| >
| > | >> After installing a program (nothing related to FrontPage I had some
| >> problems with my pc so I deleted the program and did a system restore.
| >> Everything seems to be working well now but I have a new file in my
| >> FrontPage web with the name global.asa and the title is "Web Site
| >> Settings for Active Server Pages".
| >>
| >> I don't remember this file being here before and I'm not sure what to
do
| >> with it. I am preventing it from being copied to the remote internet
| >> server until I know it belongs there.
| >>
| >> It lives in the same folder as my index.htm but as I said, I don't
| >> remember it being there. Does it belong in a different folder? Should
I
| >> let FrontPage publish the file?
| >>
| >> Thanks for any help.
| >>
| >
| >
|
|
 
A

All Patriots

Thanks Tom. I assume FrontPage created this version of global.asa because I
didn't and I'm the only one who uses this pc.
 
J

Joe Rohn

Hi All Patriots,

As Tom mentioned..based on what you have..shouldn't be any problem deleting
it. If you ever started to play or experiment with any of the database
features/functions in FrontPage..it could have been created then.
 
A

All Patriots

Joe Rohn said:
Hi All Patriots,

As Tom mentioned..based on what you have..shouldn't be any problem
deleting it. If you ever started to play or experiment with any of the
database features/functions in FrontPage..it could have been created then.

Come to think of it, I did take a look at the db wizard and FrontPage
created a subsite in my web (which I deleted). I guess FrontPage created
global.asa at that time but put it in the main site of my web. Even though
I didn't need it, it was bothering me for some reason. I guess I just don't
like loose ends. Thanks for clearing that up!
 
A

All Patriots

clintonG said:
In other words you want to stay ignorant instead of learning more about it
and how it can be used to make your site run better?

Right now, yes, I have bigger fish to fry. Besides, I don't think it will
do anything for my site right now, everything is .htm.
 
J

Joe Rohn

Not too sure how an unused global.asa file improves the way a site runs.
Maybe I am missing something though?!?!
 
K

Kevin Spencer

Maybe I am missing something though?!?!

.... a global.asa file?

--
;-),

Kevin Spencer
Microsoft MVP
..Net Developer
Ambiguity has a certain quality to it.
 
K

Kevin Spencer

I wish that was all that I am missing Kevin...but I'm pretty sure there's
lots more!! :)

Why, if you knew what you were missing, you probably wouldn't even miss it!
I used to miss my brain, but I've long since forgotten what it was.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
Ambiguity has a certain quality to it.
 
K

Kamaoleone

What is this? Can't anyone give this guy a straight answer. The asa file more
than likely was created along with the fpdb folder. You really don't want to
modify the asa file,( you might replace the a with an s). Anyway this is my
first time here hopefully it gets better!
 
R

Rob Giordano \(Crash Gordon®\)

You musta missed part of the thread...but it was already answered, then went off on a tangent.


| What is this? Can't anyone give this guy a straight answer. The asa file more
| than likely was created along with the fpdb folder. You really don't want to
| modify the asa file,( you might replace the a with an s). Anyway this is my
| first time here hopefully it gets better!
|
|
| "Kevin Spencer" wrote:
|
| > > I wish that was all that I am missing Kevin...but I'm pretty sure there's
| > > lots more!! :)
| >
| > Why, if you knew what you were missing, you probably wouldn't even miss it!
| > I used to miss my brain, but I've long since forgotten what it was.
| >
| > --
| > HTH,
| >
| > Kevin Spencer
| > Microsoft MVP
| > ..Net Developer
| > Ambiguity has a certain quality to it.
| >
| > | > > | > >>> Maybe I am missing something though?!?!
| > >>
| > >> ... a global.asa file?
| > >>
| > >> --
| > >> ;-),
| > >
| > > I wish that was all that I am missing Kevin...but I'm pretty sure there's
| > > lots more!! :)
| > >
| > > --
| > > Joe
| > >
| > > FrontPage Users Forums:
| > > http://www.timeforweb.com/frontpage
| > >
| > >
| > >
| >
| >
| >
 
K

Kevin Spencer

Ok, Kamaoleone, although I'm pretty sure somebody explained it to a certain
extent awhile back, let me see if I can give you an answer that satisfies
you.

ASP (Active Server Pages) is a Microsoft server-side programming technology
that creates HTML documents dynamically using programming (scripting
actually, usually using VBScript). ASP is actually an ISAPI (Internet Server
Application Programming Interface), an application that runs on the web
server, and handles requests for ASP pages (pages with a .asp extension).

ASP is designed, of course, to work in an HTTP environment. It is an
application that is defined as far as scope is concerned by a hierarchy of
ASP files that exist in or under a given web server folder. The application
itself is configured using Internet Information Services, and defined by
defining the top-level folder for that application. Any requests that are
made to the web server for .asp files in or under that folder are handed off
to the ASP application that has that scope. That top-level folder is
referred to as the "application root."

The ASP application itself is started when the first request for an ASP page
inside its folder structure is received. Because HTTP is stateless (there is
no memory on the web server of previous page requests), ASP provides its own
state (memory) management. The ASP application itself is the host for all of
the ASP pages inside it, and has a memory space called, appropriately,
"Application." This is a Collection into which global data can be stored and
retrieved by any ASP page inside that application. It also provides a more
specific Collection for each User Session. A User Session is defined as the
pages visited (requested) by a single browser client during a specific
Session. The Session is defined in terms of time as beginning with the first
request for a page by the client, and ending 20 minutes after the last
request for an ASP page by that client. The ASP application keeps track of
who the client is by sending a Session cookie containing a unique identifier
back to the client browser at the beginning of the Session. When the Session
ends, the cookie expires. Hence, the next time the user visits that site, a
new Session is started.

Hokay, now how does all this background stuff figure in with the global.asa
file? Well, as you can imagine, I was just getting to that. The ASP
application has certain events that are fired at certain times. Without
going into all the gory details, I will give you the highlights. For
example, there is an event fired (Application_OnStart) when the application
starts, and one fired (Application_OnEnd) when it stops. There are also
similar events that fire at the beginning and end of each Session.

The global.asa file is the file that contains the scripting for the event
handlers that handle these "global" events. There are certain things you may
want your ASP application to do at the beginning and/or end of the
Application or client Session, such as storing a global database Connection
String. FrontPage, in fact, uses the Application_OnStart event to do just
that, when you create a FrontPage Database whatever component in your web.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
Ambiguity has a certain quality to it.
 
A

All Patriots

Kamaoleone said:
What is this? Can't anyone give this guy a straight answer. The asa file
more
than likely was created along with the fpdb folder. You really don't want
to
modify the asa file,( you might replace the a with an s). Anyway this is
my
first time here hopefully it gets better!

Thanks Kamaoleone, Joe Rohn and others cleared it up for me. I don't visit
the NG much but it is helpful if you get stuck with a FrontPage problem.
Just like any NG, some people are over the top but you will find some very
knowledgeable and helpful people.
 
K

Kevin Spencer

Did you read my detailed explanation, which I posted yesterday, I think?
It's about a page and a half long.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
Ambiguity has a certain quality to it.
 
A

All Patriots

Kevin Spencer said:
Did you read my detailed explanation, which I posted yesterday, I think?
It's about a page and a half long.

I did, thanks. The information will come in handy when I get the DB portion
of my website complete. I'll probably have someone else take care of that
for me because I don't know how to do it and I don't have the tools to do
it.

John
 

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

Top