I have a large(ish) COM object that works as the back end of my PHP application. Every time i refresh the page, PHP creates a new object of the COM interface. This is however slow.
Is there any way to serialize/cache the COM object so that I can access the already initialized object? Or is there maybe some other workaround. I would also like to have control over which object belongs to which session.
Is this even possible using PHP? I'm even prepared to switch to another language to get this to work.