NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: CaseyR on May 30, 2014, 02:20:49 PM

Title: Multiple data sets for the same app
Post by: CaseyR on May 30, 2014, 02:20:49 PM
HI,

This has probably been addressed somewhere but I just could not find it.  I would like to give each of my client organizations their own data set in a separate folder.  They would include the sub folder name in the URL that would be passed to a SessionValue for use as part of a variable for table name.  The Multi-site host approach seems like overkill because it is only one app.

Any links, or suggestions for implementing this approach would be greatly appreciated.   Thanks.
Title: Re: Multiple data sets for the same app
Post by: Keith on May 30, 2014, 05:19:12 PM
Hi Casey

I had the same question recently and this is the thread that resulted:

http://www.nettalkcentral.com/index.php?option=com_smf&Itemid=36&topic=5600.0

It covers other ground but Rainer thinks that lots of directories (one per user) is ok.

I have successfully experimented with this via  using:

Webhandler/ProcessLink/Beforeparent embed point to set the directory with the directory command

HTH

Keith
Title: Re: Multiple data sets for the same app
Post by: CaseyR on May 31, 2014, 07:09:47 PM
Thanks a lot, Keith.

I will try that embed.
Title: Re: Multiple data sets for the same app
Post by: Keith on June 01, 2014, 02:28:45 PM
Casey

In the embed you use the SETPATH command to point to the correct directory (not DIRECTORY of course).

Cheers

Keith
Title: Re: Multiple data sets for the same app
Post by: Bruce on June 01, 2014, 09:15:52 PM
you absolutely should not use SetPath.
you should use File name variables.

see webinar #19.
http://www.capesoft.com/accessories/NetTalkUserGroup.htm

Cheers
Bruce
Title: Re: Multiple data sets for the same app
Post by: CaseyR on June 03, 2014, 12:00:22 PM
Perfect.   Thanks, Bruce.
Title: Re: Multiple data sets for the same app
Post by: Keith on June 04, 2014, 02:39:42 AM
Bruce, thanks also.  The webinar section was very informative.

Keith