I just use a Login stack and database table. It allows you to provide an interface for addition, deletion and modification of accounts.
Bob S > On Aug 2, 2025, at 5:42 AM, jbv via use-livecode > <use-livecode@lists.runrev.com> wrote: > > Hi list, > > Years ago I built a desktop app with LC, and the client is still using it. > Users of the app work in the same company but are scattered in different > cities. Since there were small differences between cities, I found it > easier to build a slightly different version of the app for each city, > with different login & pwd. > Now the client would like to be able to switch from one app to another > (from one city to another) without quitting the app, launching the app > of another city, entering new login & pwd, etc. > > An option could be simply to download the stack & card scripts for other > cities from a remote server and replace the current scripts in the > standalone with new scripts. The app features a main stack and no more > than 10 substacks. The structure (fields, buttons, etc.) are identical, > only the scripts and some data (downloaded at startup) are different. > > So my question is : is replacing all scripts of a standalone on the fly > possible ? If yes, is it a good idea, is there any safety issue, and > are there alternatives ? > > Thank you in advance. > jbv > > _______________________________________________ > use-livecode mailing list > use-livecode@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode