Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> End of session in ORACLE (OCI programming)

End of session in ORACLE (OCI programming)

From: Andrey Kubyshev <email_at_vtc.ru>
Date: Sat, 27 Apr 2002 23:01:36 +0200
Message-ID: <aaf3i9$ge0$07$1@news.t-online.com>


Hi developers,
I'm trying to write an extended stored procedure for Oracle. And it would be very nice if you give me a hint how to catch end of user session. Because I need to free memory set by OCIContextSetValue( ) . I know that easy way would be allocate all memory with OCI mem. functions, but unfortunately this value , that I need to store is complex structure allocated in 3rd party library. So I have to do it manually. Is it possible to set some callback something like before_session_close.
Maybe there are another ways of deallocating memory in session ?

Thank you for attention. Received on Sat Apr 27 2002 - 16:01:36 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US