COM support functions for Windows

G

Guest

Guest
Hi everyone,
Does anybody know how to avoid to re-instantiate a COM object in a single session?

$ctrl = new COM("COM_VM.ViewVM")

Is it possible to save some kind of handle to the $ctrl variable and use it in another page request in the same session? And perform the
$ctrl->release only at the end of the session?

Thanks
Bye
[/b]
 
Lele said:
Hi everyone,
Does anybody know how to avoid to re-instantiate a COM object in a single session?

$ctrl = new COM("COM_VM.ViewVM")

Is it possible to save some kind of handle to the $ctrl variable and use it in another page request in the same session? And perform the
$ctrl->release only at the end of the session?

Thanks
Bye
[/b]
Try use:
Code:
session_destroy();

or reading next:
http://www.php.net/manual/en/function.session-destroy.php
 
Back
Top