Support

How To Integrate A Code Page

How to integrate a so-called Code Page (used with session assignment code) to your own homepage

30

Instructions



ASP (Saas) version



Create a web page in the web server with a form to ask the code and make a call to the interface

http://X.ntrsupport.com/inquiero/interfaces/web/customer/newsession.asp?owner=Y&lang=es&exe=1&code=Z

  • X refers to the proper platform (www, eu, na, jp)
  • Y is the customer ID code
  • Z is the session assignment code


Thanks to the &exe and &code parameters it will work like the Code Page in the NTR platforms (ntrsupport.com/code)

On Premise (Self Hosted NTRsupport server) version



Follow same steps as in the ASP version but change the URL with the server's public IP or DNS name. In your Inquiero installation folder (X:\inquiero\inetpub) create a new folder "code" (X:\inquiero\inetpub\code). Copy the page with the form there (we recommend to use a name like index.html or default.html). In the IIS create a new virtual folder called code at the same level as Inquiero and Setbox and point to the physical folder you just created.

Example of Code page code to use:

<?xml version="1.0" encoding="ISO-8859-1"?>
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"&gt;
<html xml:lang="fr" xmlns="http://www.w3.org/1999/xhtml">
<script>
function alpha(){ 
var text=document.inisession.code.value;
var i;
var llarg=text.length;
for(i=0;i<llarg;i++) {
if ( ((text.charAt(i)<'0') || (text.charAt(i)>'9')) && ((text.charAt(i)<'a') || (text.charAt(i)>'z')) && ((text.charAt(i)<'A') || (text.charAt(i)>'Z')) ){
alert(' Seuls les caractères Alphanumériques sont autorisés');
return false;
}
//alert(document.inisession.code.value);
}
}
</script>
<center>
<table>
<tbody>
<tr>
<td vAlign="center" align="middle">
<form method="post" name="inisession" action="http://www.ntrsupport.com/inquiero/interfaces/web/customer/newsession.asp">
<input value="SHOW" type="hidden" name="action" />
<input value="2599" type="hidden" name="owner" />
<input type="hidden" name="cat" />
<input value="fr" type="hidden" name="lang" />
<input value="1" type="hidden" name="exe" />
<input type="hidden" name="isd" />
<input type="hidden" name="css" />
<input type="hidden" name="cb" />
<input type="hidden" name="ct" />
<input type="hidden" name="cbg" />
<input type="hidden" name="txtcolor" />
<input type="hidden" name="bgcolor" />
<input type="hidden" name="ref" />
<input type="hidden" name="ref2" />
<input type="hidden" name="clientid" />
<input type="hidden" name="surpre" />
<input type="hidden" name="sur" />
<input type="hidden" name="auto" />
<input type="hidden" name="open" />
<input type="hidden" name="button" />
<span>&nbsp;&nbsp;<strong>SVP, entrez votre code de session:</strong> </span>
<input maxLength="25" size="30" name="code" autocomplete="off" />
<input class="btnSubmit" onclick="return alpha()" value="&nbsp;&nbsp;Connecter&nbsp;&nbsp;" type="submit" name="submit" />
</form>
</td>
</tr>
</tbody>
</table>
</center>
+1 (866) 459 2543  |  
RSS News Feed
  |  
Legal
  |  
Privacy Policy
NTRglobal | Enterprise Grade SaaS Support and Administration Solutions for Companies of Any Size

 Remote Software for Support and IT Administration

U.S.A. -


Copyright © 2001-2012 NTRglobal, All rights reserved