Information générale
Titre:
Server-wide environment variable?
I have a client application that gets updated from an server admin application. The admin app creates a new xml document containing the changes and places it in a folder on the server.
When a client app fires up it checks to see if the xml document exists and if so makes the necessary updates.
At the moment I have set a #define constant to point to the server folder - however what I really would like to be able to do is look at a server environment variable or something like that to find the folder name.
Thus if the admin app moves where it places the document, I don't have to change my #define and recompile my client app. I could use a dbf and store the folder path - but any change would mean updating all the client dbfs.
Any help gratefully received
Regards
Anna Clements
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement