Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 11.0.1 (中文) » SQL Anywhere 服务器 - 编程 » SQL Anywhere 数据访问 API » SQL Anywhere Web 服务 » 使用 HTTP 会话

 

删除连接和服务器关闭

显式删除在会话上下文中进行高速缓存处理的数据库连接会导致会话被删除。以这种方式删除会话会被视为是取消操作,并且从会话队列释放的任何 HTTP 请求都会处于已取消状态。这就确保了快速终止 HTTP 请求且适时地通知用户。

同样,服务器或数据库关闭会取消其相应的数据库连接,这可能会导致取消 HTTP 请求。