COM support functions for Windows

Ask about general coding issues or problems here.

Moderators: macek, egami, gesf

User avatar
WiZARD
Moderator
Moderator
Posts: 1257
Joined: Thu Jun 20, 2002 10:14 pm
Location: Ukraine, Crimea, Simferopol
Contact:

Re: COM support functions for Windows

Postby WiZARD » Wed Jul 31, 2002 5:00 am

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


Return to “PHP coding => General”

Who is online

Users browsing this forum: Google [Bot] and 1 guest

cron