NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: jking on October 16, 2023, 09:55:09 AM

Title: Question, Multi-Site host NT 14.04
Post by: jking on October 16, 2023, 09:55:09 AM
Hi Bruce,

     I have been re-reading the NetTalk Book, 4th edition.  On pages 284-285 you discuss how to handle data table locations.  Here you mention that each table needs a full pathname variable set, for example !glo:customersFileName.  You recommend it be threaded.  I have multiple apps successfully running in the Host.exe without using a full pathname variable.  I simply use the file name as seen in the example image attached.  Then, in the WebHandler, ProcessLink embed I use: 

         crf001{prop:name} = clip(self.site.appPath) & 'crf001.tps'

I do this for all files in my DLL apps.  Is this the wrong way to do things?  Is a full pathname variable necessary?

Thanks,

Jeff King
Title: Re: Question, Multi-Site host NT 14.04
Post by: Bruce on October 17, 2023, 12:14:33 AM
My only doubt is if crf001{prop:name} is threaded or not. I think it's maybe not.
Which is fine, as long as your system is not multi-tenant.

the !glo:CustomersFileName approach works better if you move to a multi-tenant environment.

Cheers
Bruce
Title: Re: Question, Multi-Site host NT 14.04
Post by: jking on October 17, 2023, 06:31:22 AM
Hi Bruce,

    My systems are not multi-tenant.  Simply have multiple users logging in, all use the same set of tps files in each app. 

Thanks, 

Jeff