A value associated to the connection by connection_set in the datatype of the original value. If the variable does not exist, a NULL is returned.
connection_get is used to retrieve values stored within the current connection context. See connection_set for a more detailed discussion of connection variables.
SQL> select connection_get('var_demo'); callret VARCHAR __________________________________________________________________ NULL SQL> connection_set('var_demo', 'some arb data'); SQL> select connection_get('var_demo'); callret VARCHAR __________________________________________________________________ some arb data
In a VSP page...
<?vsp declare id integer; declare saved_req any; id := connection_get ('ID'); saved_req := connection_set ('saved_request'); ?>