General discussion

Locked

ASP.NET Global.asax file

By MaryWeilage Editor ·
This week's .NET e-newsletter explains how you can develop robust apps with the Global.asax file, which provides a way to respond to application or module level events in one central location.

Were you familiar with the Global.asax file before reading this e-newsletter? If not, do you plan to start utilizing this file in your apps?

If you aren't subscribed to our free .NET e-newsletter, click the following link to automatically sign up:
http://nl.com.com/MiniFormHandler?brand=builder&subs_channel=bldr_front_door&list_id=e605&tag=fb

This conversation is currently closed to new comments.

1 total post (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

Deleting global.asax

by jesper In reply to ASP.NET Global.asax file

The global.asax file is optional as written in this article. Be aware though that if you use any kind of Session objects, you need a global.asx with at least an empty Session_Start event procedure. If not present, IIS will create af nw session on every request to the server.

I struggled with this for some time before I discovered this.

So I am already using this file, all though it doesn't have any coding in it. That said i wil probably implement my own logging scheme, via the Application_BeginRequest event next time i make a website with a need for specialized logging.

.Jesper

Back to Web Development Forum
1 total post (Page 1 of 1)  

Related Discussions

Related Forums