FoxWeb channels remain open and are shared by all sites on a particular server. The easiest way to run both sites is to simply open and close tables with every request. This should not slow you down significantly, unless you are dealing with extremely large files.
If you really want to keep your tables open and you are using VFP 7, one way would be to create PUBLIC objects with distinct data sessions. VFP forms obviously have their own data session, and although I don't have much experience with this, I believe you can use VFP's session class to create data sessions.
Sent by Darryl on 09/26/2002 09:36:19 PM:
We have two separate foxpro 2.6 databases that have exactly the same tables. One has Australian data and the other has New Zealand data. We run the same foxpro code on both systems.
I have successfully implemented a foxweb web solution for the AU company and I would like to now use the same system for NZ.
Currently I open many tables in my FW_enter routines and keep the files opened 24/7. If I close the tables things will slow down.
Is there a way that I can run the NZ site on the same IIS server as the AU site?