You can, But NEVER do that.
Acquire resources late and release early.
Bu opening a connection and making every pages to reuse it
you are creating a bottlenect by forcing your pages to use the same
and you will not get the benefit of connection pooling.
Open the connection only when you need a DB access and close it immediately.
Roji. P. Thomas
SQL Server Programmer ;)
"michaaal" <res0gyioverizon.net> wrote in message
news:%235rUJl%23sDHA.3144tk2msftngp13.phx.gbl...page> Can I use my GLOBAL.ASA file to open a database connection before each> loads? Would someone mind posting a very simple example? I tried to make
> it work but couldn't. Thanks!