
global.asa and global.asax ?
ASP and ASP.Net are 2 different ISAPIs on the web server. They run in
different memory spaces. The global.asa file is used by ASP to handle
events, such as Application_OnStart and Session_OnStart, etc. The
global.asax file in ASP.Net is used for the same basic purpose. However, as
these 2 ISAPIs run in different memory spaces, they can't see the data
stored in the memory space of the other ISAPI. Therefore, you are not
sharing Application and Session objects between them. That is probably what
is causing your confusion.
HTH,
--
Kevin Spencer
Microsoft FrontPage MVP
Internet Developer
http://www.takempis.com
Big things are made up of lots of little things.
Quote:
> Hi All,
> Is there an article about global.asa and asax? Any rule to use them both?
> My site had already an ASA. Now my host is upgrading to ASP.Net, so I
added
> an ASAX and tried to use them both, but got lots headaches from Session
and
> Application.
> Kind regards,
> Zhen