Retrieve server variables without refreshing page.

Hi All,

Is there a way to retrieve router server variables such as $(session-timeout), $(identity), $(mac), and all other variables without refreshing the entire page. Is there a way such as in JS in which we can just trigger an ajax GET for example.

$.get(“http:///?session-timeout”, function(data){
alert(“I have the session timeout:” + timeout );
});

thanks.