Welcome! Log In Create A New Profile

Advanced

[WM24] Is there any way to switch servers on the fly?

Posted by RobertLeo 
[WM24] Is there any way to switch servers on the fly?
November 12, 2019 08:33AM
A question for those who created apps that rely on cloud/servers for backends, is there any way to switch the server the analysis is linked to on the fly in the event that the server goes down either due to power failure and what not? And is it possible to connect the analysis to a domain instead or a direct IP?
Re: [WM24] Is there any way to switch servers on the fly?
November 12, 2019 09:31AM
HI Robert

Answering the 1st half of your connection, you could use hchangeconnection

Rgds
Paul
Re: [WM24] Is there any way to switch servers on the fly?
November 16, 2019 05:54PM
1Yes Indeed hchangeconnection() can change you toan other server.

2 you could make a script that checks the connection first and then connects . If the connection is not a vaileble try an other connection so yes it is possible to connect to an other server if a server is off line

3 You can connect to an ip a domain a subdomein als long as it refers to valid address.

( you can make connections in the analyse ans use these connections in code but you can also make them all in code . It is what you prefer )

Hope this gives you some insight

Regards
Re: [WM24] Is there any way to switch servers on the fly?
November 19, 2019 03:23AM
thanks for the insight from the both of you
Author:

Your Email:


Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: