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
==============================================
 

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

Similar Threads

Here is the Error I'm Getting 1
global.asa 4
Database Results Wizard Error 1
Database Results Error 6
Help please....global.asa and forms 3
ASP.NET Global.asax?? 3
Corrupt global.asa? 2
ASP Programming 4

Back
Top