Overview

  Features

  Download

  Buy It Now

  F.A.Q.

  ASP Sample

 

 

ASP Sample - XpertChat integration on a ASP site

 

This sample shows how to create a page to set live support online and offline, sample_page.asp is a page to open the support window if support available.

 

1. Online and IP Publication

 

 

Sample_online.asp

 

 

<%

Application("LiveSupportIP") = Request.ServerVariables("REMOTE_ADDR")

Response.Write Application("LiveSupportIP")

%>

 

 

Sample_offline.asp

 

 

<%

Application("LiveSupportIP") = "OFFLINE"


Response.Write Application("LiveSupportIP")

%>

 

 

 

Sample_page.asp

 

 

<%

    

     if Application("LiveSupport") <> "N/A" then

 

%>

 

<b></b></font><b><font face="Arial" color="#FFCC00">&#9658;
</font><a href="#" onclick="open('http://<% Response.Write Application("LiveSupportIP") %>/cws_exec$?GoText= ','LiveAssist','resizable=no,scrollbars=no,width=440,height=300')" style="text-decoration: none">
<font face="Verdana" color="#FFCC00" size="2">Live Support</font></a></b></p>
<p style="margin-left: 10; margin-top: 10; margin-bottom: 0">&nbsp;</td>
<% end if %>
 

ou

 

<b></b></font><b><font face="Arial" color="#FFCC00">&#9658;
</font><a href="#" onclick="open('http://<% Response.Write Application("LiveSupportIP") %>/cws_exec$?GoText= ','LiveAssist','resizable=no,scrollbars=no,width=440,height=300')" style="text-decoration: none">
<font face="Verdana" color="#FFCC00" size="2">Live Support</font></a></b></p>
 

 

 

 

 

 

.

Privacy Statement | Terms of Use | Contact Us |   Pad File (XML)   | Technical Support

2005 © XPERTCHAT.COM a division of Capturix Software Technologies, All rights reserved.