wilton_educasoft Posted May 19, 2015 Posted May 19, 2015 I need to start my application and send a parameter through the url to change my site's behavior. the following occurs: I have several databases on one server for each client. I would use one and the same application unigui access your respective bank. but I would not want to show the list of databases to the User. this information should come from the address (url), with that information, to download application I already do the bank's definition and its connection unigui version 0.99.10.1172 profissonal sample myserver.com.br:8077?database=NAME or myserver.com.br:8077?IDClient=1 Quote
Abaksoft Posted May 19, 2015 Posted May 19, 2015 Hello wilton See http://forums.unigui.com/index.php?/topic/5326-bad-customer-how-to-kill-his-vps-db-connexion/ You can use Adragan tip in #4. Regards. Quote
wilton_educasoft Posted May 20, 2015 Author Posted May 20, 2015 I've done that way, I have a master database, I have a table with the connections. I wanted was just avoid this parameter in login so that the User needed not choose which database. each customer will have your particular site, and that site I put a link to open the application unigui already indicating that the database that will be used to connect Quote
DoiSuthep Posted May 30, 2015 Posted May 30, 2015 Hi, URLParamsDemo should present needed solution. You can use UniApplication.Parameters.Values['database] from your sample url Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.