Bob, When you activate the "Enable User Settings in External File” option, 4D do not set anything in this file (except the “automatic_session_management”). It just allow you to use this option and add a submenu to Database Settings, Structure and User. You have to select User Settings. Only the settings that you modify in this windows are written in the settings.4DSettings.
So, my understanding is that when "Enable User Settings in External File” is enabled, 4D look first into the settings.4DSettings file for the property it need to read. If it finds something 4D use it, otherwise the structure settings are used for that property. Alberto. > El 04-10-2016, a las 18:17, [email protected] escribió: > > Hi Alberto, > > Thanks for this; it tells me I'm "kind of" on the correct path: > >> I've (long ago) gone to Database settings (per the design reference > instruction you included in your response) and clicked off 'Enable User > Settings in External File'. I'm not seeing how this works on 4D Server! > > Case in point: If I look at the file on 4D Server (v15), however, it > contains only xml keys as follows: > > <?xml version="1.0" encoding="UTF-8"?> > <preferences stamp="2"> > <com.4d> > <web> > <standalone_server><configuration > automatic_session_management="false"/></standalone_server> > <remote><configuration automatic_session_management="false"/></remote> > </web> > </com.4d> > </preferences> > > I'm puzzled where the port numbers and other options can be stored! > > When I look at the settings.4DSettings file on my 4D Developer edition > (again, v15), it is far more robust: > > <?xml version="1.0" encoding="UTF-8"?> > <preferences stamp="189"> > <com.4d> > <database><misc store_unicode_tokens="false"/></database> > <server> > <network><options use_legacy_network_layer="true" > publication_port="14463"/></network></server> > <web> > <standalone_server> > <configuration automatic_session_management="false"/> > </standalone_server> > <remote><configuration automatic_session_management="false"/></remote> > </web> > <general><font font_name="Arial" font_size="11"/></general> > <sql><publication port_number="14480"/></sql> > </com.4d> > </preferences> > > > Despite the additional robustness of this settings file, not all the > Database settings are in here; for example, there is no setting for size > of the cache, or 'keep the cache in physical memory'. > > Even more strange -> If I open 4D Developer, change some port numbers and > such, then look at settings.4DSettings, it is unchanged. > > Here is a test that maybe some of you Nugger's can do for me: if you > examine settings.4DSettings for 4D Developer in your 'Preferences' folder, > do you see more keys that I see (per above)? > > Is there a difference in the settings.4DSettings contents between your 4D > Developer and 4D Server? > > Many thanks! > > >> Database settings are stored inside the structure file, unless you > activate the option "Enable User > Settings in External File? in the > Security Tab. More info in > > http://livedoc.4d.com/4D-Design-Reference-13.4/Database-Settings/Using-user-settings.300-1226542.en.html > > > > > > Bob Miller > Chomerics, a division of Parker Hannifin Corporation > > > > ********************************************************************** > 4D Internet Users Group (4D iNUG) > FAQ: http://lists.4d.com/faqnug.html > Archive: http://lists.4d.com/archives.html > Options: http://lists.4d.com/mailman/options/4d_tech > Unsub: mailto:[email protected] > ********************************************************************** ********************************************************************** 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.com/faqnug.html Archive: http://lists.4d.com/archives.html Options: http://lists.4d.com/mailman/options/4d_tech Unsub: mailto:[email protected] **********************************************************************

