code_junkie

Why won't VS 2008 SP1 let me edit global.asax?

Nov 13th, 2011
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.90 KB | None | 0 0
  1. <%@ Application Language="C#" %>
  2.  
  3. <script runat="server">
  4.  
  5. void Application_Start(object sender, EventArgs e)
  6. {
  7. // Code that runs on application startup
  8.  
  9. }
  10.  
  11. void Application_End(object sender, EventArgs e)
  12. {
  13. // Code that runs on application shutdown
  14.  
  15. }
  16.  
  17. void Application_Error(object sender, EventArgs e)
  18. {
  19. // Code that runs when an unhandled error occurs
  20.  
  21. }
  22.  
  23. void Session_Start(object sender, EventArgs e)
  24. {
  25. // Code that runs when a new session is started
  26.  
  27. }
  28.  
  29. void Session_End(object sender, EventArgs e)
  30. {
  31. // Code that runs when a session ends.
  32. // Note: The Session_End event is raised only when
  33. // the sessionstate mode
  34. // is set to InProc in the Web.config file.
  35. // If session mode is set to StateServer
  36. // or SQLServer, the event is not raised.
  37.  
  38. }
  39.  
  40. </script>
Add Comment
Please, Sign In to add comment