global.asa

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Ok, you probably remember me begging for answers for a problem I was having
with my Form connection to a SQL database. Apparently the global.asa file is
automatically created in the root directory. Well my page with a form is in
a subdirectory. I'm still trying to figure out the difference between
virtual and physical directories but, that's something else. Any who, I was
recieving an error stating the database connection was undefined. I figured
out that the global.asa file wasn't running. I thought it ran when you open
the homepage but, NOT. After it created the global file, I copied it and put
it in the same directory as my Form page and it works. It's slow but, it
works.

Can anyone say if doing this I might have problems down the road? Does
anyone know why it's slow. Is there a way to do an include file to run the
one in the root?
 
The global.asa file will only fire when the first .asp page is requested. You should make all of
your pages .asp or create your ASP application in a FP subweb/site.

--
==============================================
Thomas A. Rowe
Microsoft MVP - FrontPage
==============================================
Agents Real Estate Listing Network
http://www.NReal.com
==============================================
 
Back
Top