App.Close: What do you use it for?

In a Web app …

I have code in Session.Close, where I close any existing database connections. I get that. But what would I use App.Close for?

When the app itself quits. This happens with App.AutoQuit = true.
http://documentation.xojo.com/api/web/webapplication.html#webapplication-autoquit

In many web apps you could have a database connection for the main thread too. App.close is a good place to put the close. Maybe there’s some other global cleanup code you might need to run. But you’re right, Session.Close is probably the more important event in web apps.