Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Question on Timer. Beginner

Status
Not open for further replies.

MEGUIA

Programmer
Sep 26, 2001
62
PR
Hi

I've created an dll based on tapi api configuration and pardon my question in advance, I created an ASP page with this vbscript code (tapi.clsconn is my dll):

<%@ LANGUAGE=&quot;VBSCRIPT&quot; %>
<%
Option Explicit

dim p_pass1

p_pass1 = Request.form(&quot;p_name&quot;)
p_pass1 = &quot; & p_pass1 & &quot;

response.write(p_pass1)

set Session.contents(&quot;outpostDB&quot;) = createObject(&quot;TAPI.CLSCONN&quot;)

Session.Contents(&quot;outpostDB&quot;).StartsSecc Request.form(&quot;p_name&quot;)

%>

<HTML>
<HEAD>
</HEAD>
<BODY>
<FORM ID= etc Action=&quot;ClosePhoneCall.asp&quot;>
<INPUT TYPE=&quot;SUBMIT&quot; Value=&quot;Drop call&quot;>
</FORM>
</BODY>
</HTML>


ClosePhoneCall.asp - new page

<%@ LANGUAGE=&quot;VBSCRIPT&quot; %>
<%
Option Explicit

Session.contents(&quot;outpostDB&quot;).KillSecc
set Session.contents(&quot;outpostDB&quot;) = nothing

%>


All I want know it's to create a timer that close the call in 15 seconds but not redirecting ClosePhoneCall.asp, I want to close the call in the same dial.asp page. Any Ideas Thanks in advance.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top