Board index   FAQ   Search  
Register  Login
Board index php forum :: php coding PHP coding => General

COM support functions for Windows

Ask about general coding issues or problems here.

Moderators: macek, egami, gesf

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?


Try use:
Code: Select all

or reading next: ... estroy.php
User avatar
Posts: 1257
Joined: Thu Jun 20, 2002 10:14 pm
Location: Ukraine, Crimea, Simferopol

Return to PHP coding => General

Who is online

Users browsing this forum: No registered users and 1 guest

Sponsored by Sitebuilder Web hosting and Traduzioni Italiano Rumeno and antispam for cPanel.