Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

What is the role of global.asax?

Answer Posted / sabari

The Global.asax file is in the root application directory.
While Visual Studio .NET automatically inserts it in all
new ASP.NET projects, it's actually an optional file. It's
okay to delete it?if you aren't using it. The .asax file
extension signals that it's an application file rather than
an ASP.NET file that uses aspx.

The Global.asax file is configured so that any direct HTTP
request (via URL) is rejected automatically, so users
cannot download or view its contents. The ASP.NET page
framework recognizes automatically any changes that are
made to the Global.asax file. The framework reboots the
application, which includes closing all browser sessions,
flushes all state information, and restarts the application
domain.

Is This Answer Correct ?    18 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a 307 redirect?

906


Define static member?

999


What is cookies cache and session?

963


Is viewstate secure?

963


What is inproc mode in session?

942


What is the use of session state and application state and difference between them?

921


Is session server side or client side?

960


What is the difference between viewstate and hidden field in asp.net?

1032


Explain the difference between server.transfer and response.redirect? Why would I choose one over the other?

1023


Can I combine classic asp and asp.net pages?

1062


Define the term Scavenging in Caching?

1040


What is difference between cookies and cache?

1049


Which browsers support the xmlhttprequest object?

1029


Let's say I have an existing application written using vb6 and this application utilizes windows 2000 com+ transaction services. How would you approach migrating this application to.net?

916


Is asp.net 64-bit enabled? How?

1060