Lele wrote: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: Select all
session_destroy();
or reading next:
http://www.php.net/manual/en/function.s ... estroy.php

