Developer Documentation Library > Interviewer - Server Admin > UNICOM Intelligence Interviewer - Server Admin architecture > Security > Encoding and decoding strings
 
Encoding and decoding strings
For security reasons, all strings that are transferred between UNICOM Intelligence Interviewer - Server Admin and the various UNICOM Intelligence Interviewer - Server Admin activities are encoded and then decoded. The encoding/decoding process might negatively affect customized activities. For query strings and web pages, Microsoft JScript is used to encode and decode the project Name and the Launch activity's start URL.
For example:
Encode method:
Microsoft.JScript.GlobalObject.escape(Request["ProjectName"]);
Decode methood:
Microsoft.JScript.GlobalObject.unescape(Request["ProjectName"]);
Customized activities must be updated to change the method that retrieves the original project name, and the method that returns to the Server Admin home page. Each activity's ApplicationInit page includes the following code:
ApplicationUtils = new SPSSMR.Web.AppUtility(this);
string sHash = ApplicationUtils.PushToSession();
The original project name is:
ApplicationUtils.WebApplicationSettings.ProjectName
The return to the Server Admin home page is:
EndApplication.aspx?hash=sHash
Query String should not be used to transfer the project name. When Query String is used, use the decoded project name.
See also
Security