global.asa?

R

Rudi Ahlers

Can anyone tell me what the use of global.asa is, especially when it comes
to website performance, but also usability.
For instance, instead of putting session.timeout = "45" in every page, can I
put it in the global.asa file? And what would this do to the site's
performance?

--

Kind Regards
Rudi Ahlers
+27 (82) 926 1689

Greater love has no one than this, that he lay down his life for his friends
(John 15:13).
 
M

Marina

This is an ASP.NET group, and global.asa is an ASP file.

However, ASP.NET has an analogous global.asax file. This file is for
application and session level events. For example, application_start, where
you may want to put code you need executed only once, such as the
instantiation of application wide variables. Session_Start could be used for
the same purpose, except it would be for session wide variables. There are
other events, and they are all completely documented.
 
R

Rudi Ahlers

Hi Marina

Thank you for your helpful reply. I subscribed to this newsgroup, cause
well, ASP.NET is the future, and I still need to learn it.
This is most probably why I battle to much, is the documentation. I can't
seem to find simple, easy to understand, howto-like documentation for ASP,
or MS-based development in general. Yes, there is stuff on the msdn.com
site, but it's pages and pages and pages long, just for a simple question
like this.

--

Kind Regards
Rudi Ahlers
+27 (82) 926 1689

Greater love has no one than this, that he lay down his life for his friends
(John 15:13).
This is an ASP.NET group, and global.asa is an ASP file.

However, ASP.NET has an analogous global.asax file. This file is for
application and session level events. For example, application_start, where
you may want to put code you need executed only once, such as the
instantiation of application wide variables. Session_Start could be used for
the same purpose, except it would be for session wide variables. There are
other events, and they are all completely documented.
 
M

Marina

Though ASP.NET is the future, ASP specific questions, should go to that
newsgroup. You will get better results that way.

I would recommend you use Google or another search engines to look for
articles and example, other then MSDN, as they often address specific issue
and have concrete examples of how to do things.
 

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


Top