INFORMIX
DataBlade API Programmer's Manual
Chapter 5: Managing Sessions
Home Contents Index Master Index New Book

Server Session Management

A DataBlade client application manages sessions by establishing one or more connections to the database server before it can access data. However, a DataBlade server routine performs session management differently because it is called within the context of an SQL statement. Therefore, the server routine is already connected in a particular database server and has access to a database that has already been opened. The server routine is also inside the current transaction.

User-defined routines that require a connection must first perform mi_open() to set up the default server connection information.

Warning: Do not pass connections as arguments to other server user-defined routines either directly or as part of an FPARAM value. Unpredictable behavior might result.




DataBlade API Programmer's Manual, version 9.1
Copyright © 1998, Informix Software, Inc. All rights reserved.