Login ProductsSalesSupportDownloadsAbout |
Home » Technical Support » Elevate Web Builder Technical Support » Support Forums » Elevate Web Builder General » View Thread |
Messages 1 to 2 of 2 total |
BaseURL and Authentication |
Sat, Oct 30 2021 4:19 PM | Permanent Link |
Richard Harding Wise Nutrition Coaching | The following program accesses an EDB database. It appears that Session.BaseURL and Database.BaseURL are determined when On Authentication is completed and is only valid if the session is Authenticated. Is this correct? I do not understand why the following results in access to the database via the Database.BaseURL.
======== Instance 1 Application.Title: Eyre & Smith Stock Database Application.Version: 3.02b Database.DatabaseName: esStock Database.BaseURL: /databases/esStock Session.BaseURL: / Session.AuthenticationResource: authentication Session.Authenticated: True Host: Port Number: 0 Default Port Number: 0 ======== Instance 2 Application.Title: Eyre & Smith Stock Database Application.Version: 3.02b Database.DatabaseName: esStock Database.BaseURL: http://localhost:8300/databases/esStock Session.BaseURL: http://localhost:8300 Session.AuthenticationResource: authentication Session.Authenticated: True Host: localhost Port number: 8300 Default port number: 8300 ======== Instance 3 Application.Title: Eyre & Smith Stock Database Application.Version: 3.02b Database.DatabaseName: esStock Database.BaseURL: http://wck:8301/databases/esStock Session.BaseURL: http://wck:8301 Session.AuthenticationResource: authentication Session.Authenticated: True Host: wck Port number: 8301 Default port number: 8301 ======== Occasionally, when the application starts, I receive an Application Error “Request execution already in progress”. How am I supposed to handle this? Presently, when I click on the OK button, the application happily continues, the user is authenticated the user and the application displays the database data. So apart from the message appearing, it appears to be working OK. Richard |
Mon, Nov 29 2021 7:16 AM | Permanent Link |
Tim Young [Elevate Software] Elevate Software, Inc. timyoung@elevatesoft.com | Richard,
<< The following program accesses an EDB database. It appears that Session.BaseURL and Database.BaseURL are determined when On Authentication is completed and is only valid if the session is Authenticated. Is this correct? >> No, that is not correct. This information is in the manual: https://www.elevatesoft.com/manual?action=viewprop&id=ewb3&comp=TServerSession&prop=BaseURL https://www.elevatesoft.com/manual?action=viewprop&id=ewb3&comp=TDatabase&prop=BaseURL << I do not understand why the following results in access to the database via the Database.BaseURL. >> Please do not make me parse the meaning of your questions - what do you not understand, specifically ? << Occasionally, when the application starts, I receive an Application Error “Request execution already in progress”. >> This means that you're trying to authenticate (using the TSession component) while the TSession component is already in the process of authenticating. You need to re-check your database code to make sure that you aren't trying to perform database operations *before* you have actually been able to authenticate successfully. Tim Young Elevate Software www.elevatesoft.com |
This web page was last updated on Friday, December 6, 2024 at 05:39 PM | Privacy PolicySite Map © 2024 Elevate Software, Inc. All Rights Reserved Questions or comments ? E-mail us at info@elevatesoft.com |