PC Review


Reply
Thread Tools Rate Thread

calling application_end

 
 
newbie
Guest
Posts: n/a
 
      16th Aug 2005
I had posted this question but it got lost in another question. I'm
posting it again:

My application_end event in global.asax is not working as-is. In order
to debug, I want to call it from another file, say debug.aspx through a
button, e.g. "end application". How do I call application_end in
global.asax from debug.aspx?

thanks

 
Reply With Quote
 
 
 
 
Andrea Zani
Guest
Posts: n/a
 
      16th Aug 2005
newbie <(E-Mail Removed)> ha scritto:
> I had posted this question but it got lost in another question. I'm
> posting it again:
>
> My application_end event in global.asax is not working as-is. In order
> to debug, I want to call it from another file, say debug.aspx through
> a button, e.g. "end application". How do I call application_end in
> global.asax from debug.aspx?
>
> thanks


You can write in debug.aspx:
XmlDocument doc=new XmlDocument();
doc.Load(Request.MapPath("web.config"));
doc.Save(Request.MapPath("web.config"));

--
AZ [Microsoft - .NET MVP]
Mia Home page: http://ciclismo.sitiasp.it
Asp.Net community: http://www.aspitalia.com
Il mio blog: http://blogs.aspitalia.com/az


 
Reply With Quote
 
newbie
Guest
Posts: n/a
 
      17th Aug 2005
I couldn't get this to work. Any other way to test the Application_end
event?

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Application_End =?Utf-8?B?c2Vhbl9tY2Fk?= Microsoft ASP .NET 4 3rd Apr 2007 01:12 AM
Application_End Ido Microsoft ASP .NET 2 14th Feb 2006 01:43 PM
calling application_end newbie Microsoft ASP .NET 10 17th Aug 2005 07:48 PM
Application_End AGB Microsoft ASP .NET 4 18th Jan 2005 10:08 PM
Re: Application_End noname Microsoft ASP .NET 0 16th Jul 2003 07:46 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:15 PM.