Quantcast
Channel: VMware Communities : All Content - All Communities
Viewing all articles
Browse latest Browse all 179681

How to get currently-connected server?

$
0
0

This may be a really simple question, but I can't find where in the documentation it might be mentioned.

 

How can I get the name of the server to which I'm connected?  In many cases, this would be just the return value of Opts::get_option('server'), but if I'm using a session file, that appears to always return "localhost", which is not what I want.

 

Any pointers would be appreciated.


Viewing all articles
Browse latest Browse all 179681

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>