You could call HttpResponse.End but this will not close the browser window
From the MSDN page, End does the following...
Sends all currently buffered output to the client, stops execution of
the page,
and raises the Application_EndRequest event.
If you want to actually close the window and bail, you could try writing out
a javascript block to the browser that calls window.close() but even that
probably won't work the way you want. (Unless I misunderstand what you're
asking.)
--
----------------------------------------------------------------
Peter Provost
Weblog:
http://www.peterprovost.org/
----------------------------------------------------------------
"Greg Smith" <gj*@umn.edu> wrote in message
news:u$****************@TK2MSFTNGP11.phx.gbl...
I am working on my first web app. What is the proper way to end the
application and close the aspx page?
Any help is greatly appreciated.