Web Connection
Multisite with same exe
Gravatar is a globally recognized avatar based on your email address. Multisite with same exe
  Marcel DESMET
  All
  Mar 5, 2019 @ 03:52am

Hello,

Just to share experience, here is the code I use to share same code on a multisite COM deployment on the same Windows Server with mulitple exe and multiple extension

This is the startup code of each project ( audielec.prg -> audielec.exe)

LPARAMETER lcAction, lvParm1, lvParm2

DO GreenshopMain.prg  WITH lcAction, lvParm1, lvParm2

DEFINE CLASS AudielecServer AS jjWebServer OLEPUBLIC

ENDDEFINE  

And here is the Web directory

Gravatar is a globally recognized avatar based on your email address. re: Multisite with same exe
  Rick Strahl
  Marcel DESMET
  Mar 6, 2019 @ 02:16am

Cool - I think 😃

I'm not really sure what we're looking at though. Maybe you can provide more context. I'm guessing you're creating one specific class for each tenant and then... what? You still end up with separate servers? I guess this lets you share the same executable and code, but you in effect use different COM IDs for each application? Is that it?

+++ Rick ---

© 1996-2019