global.asa and global.asax ? 
Author Message
 global.asa and global.asax ?

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



Tue, 03 May 2005 06:01:29 GMT  
 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



Tue, 03 May 2005 20:51:12 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Problems with global.asax

2. dotnet Reference to non-shared member requires object reference - Global.asax.vb

3. How to call a Sub located in global.asax

4. problem with class in global.asax.vb file

5. Darn you global.asax and Windows Authentication!!!

6. Custom Roles in Global.asax

7. Global.asax and webservices

8. Error in Global.asax

9. using global.asax to create event log

10. global.asa

11. Creating Com Object in Global.asa

12. Load a class from the global.asa

 

 
Powered by phpBB® Forum Software