Login ProductsSalesSupportDownloadsAbout |
Home » Technical Support » ElevateDB Technical Support » Support Forums » ElevateDB General » View Thread |
Messages 1 to 2 of 2 total |
ServerEngine.OnBeforeStop and queries to DB |
Mon, Apr 15 2019 3:40 AM | Permanent Link |
Yusuf Zorlu MicrotronX - Speditionssoftware vom Profi | Hello,
what is the best way to access some db-tables in ServerEngine.OnBeforeStop. Is there a "Session" for Server itself or can we use the global SESSION? As i see, the global SESSION is not connected, so we need to set LoginUser and LoginPassword and Connected to TRUE to be able to query some database-Objects. Is this the correct way, anyone doing it different? Yusuf Zorlu MicrotronX |
Wed, Apr 17 2019 2:53 PM | Permanent Link |
Tim Young [Elevate Software] Elevate Software, Inc. timyoung@elevatesoft.com | Yusuf,
<< what is the best way to access some db-tables in ServerEngine.OnBeforeStop. Is there a "Session" for Server itself or can we use the global SESSION? >> Yes, you can use the global session. Any type of database activity that you perform *within* the EDB Server is essentially the same as local access from within a client application. << As i see, the global SESSION is not connected, so we need to set LoginUser and LoginPassword and Connected to TRUE to be able to query some database-Objects. >> Correct. Tim Young Elevate Software www.elevatesoft.com |
This web page was last updated on Monday, April 29, 2024 at 05:23 AM | Privacy PolicySite Map © 2024 Elevate Software, Inc. All Rights Reserved Questions or comments ? E-mail us at info@elevatesoft.com |