[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: web app confog file


Hi, 

Not, I'm using gb.web.gui

Thanks anyway.

On Tue, 2025-03-25 at 13:30 -0400, T Lee Davidson wrote:
> On 3/25/25 8:55 AM, Linus wrote:
> > Hello,
> > 
> > You can download my last Web App in the Gambas Farm named
> > ‘gbGestionImmobilier’
> > Take a look a t the code you will find how to have a config file
> > for your Web App
> > In my case the file is named ‘gbGestionImmobilier.ini'
> > 
> > 
> > Olivier Cruilles
> > olivier.cruilles@xxxxxxxx <mailto:olivier.cruilles@xxxxxxxx>
> > 
> > 
> > 
> > 
> > > Le 25 mars 2025 à 08:48, gaucho
> > > <64xcode@xxxxxxxxx <mailto:64xcode@xxxxxxxxx>> a écrit :
> > > 
> > > Hi,
> > > 
> > > In desktop apps I use a json file located in the user folder, but
> > > in
> > > web apps the users access to the app altrough a web browser.
> > > 
> [snip]>
> 
> Just in case you meant that you are using gb.web as opposed to
> gb.web.gui, you use Settings (from gb.settings) like this:
> [code]
> <%
> Dim sDocumentRoot As String = Env["DOCUMENT_ROOT"]
> Dim sConfPath As String = sDocumentRoot &/ Application.Name & ".conf"
> Dim hSettings As New Settings(sConfPath)
> %>
> [/code]
> 
> 


References:
web app confog filegaucho <64xcode@xxxxxxxxx>
Re: web app confog fileLinus <olivier.cruilles@xxxxxxxx>
Re: web app confog fileT Lee Davidson <t.lee.davidson@xxxxxxxxx>