Get Action Returns the authentication string for use by applets
Parameters
Usage:
/OpenForum/Actions/GetAuthentication?pageName=dummy
Server Side Javascript for GET methodget.sjs if(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 |
|