scope.RefreshSession = function() {
console.log ("RefreshSession");
var postdata= {/* any json your application may need */};
scope.RefreshSession = function() {
console.log ("RefreshSession");
var postdata= {/* any json your application may need */};