Get Authentication          
  
   
 


Get Action Returns the authentication string for use by applets

Parameters

  • pageName - dummy

Usage:

/OpenForum/Actions/GetAuthentication?pageName=dummy

Server Side Javascript for GET method

get.sjsif(typeof(pageName)=="undefined") { transaction.setResult(transaction.SHOW_PAGE); } else { authentication = transaction.getHttpHeader().getElementByName("authorization"); if(authentication==null) { authentication = ""; } else { authentication = authentication.getValue(); } transaction.sendPage( authentication ); }
by Admin on 21/04/2008 at 10:09 PM