Click or drag to resize
Askia

PersistentEndWebProdDatabaseConnection Method

Closes the webprod database connection

Namespace:  AskiaCore
Assembly:  AskiaCore (in AskiaCore.dll) Version: 6.0.0-build000000000000000000000000000000000000000001
Syntax
public static void EndWebProdDatabaseConnection()
Remarks
For .NET web project you may use the Global.asax to release the database connection
Examples

Release the database connection in the Global.asax of the .NET web project

using AskiaCore;

namespace MyApp
{
    public class Global : HttpApplication
    {
        protected void Application_End(object sender, EventArgs e)
        {
            // Release the database connection
            Persistent.EndWebProdDatabaseConnection();
        }
    }
}
See Also