﻿<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>Millisecond Forums » Millisecond Forums » Inquisit 5  » HTML Element Connects to Website Twice</title><generator>InstantForum 2017-1 Final</generator><description>Millisecond Forums</description><link>https://forums.millisecond.com/</link><webMaster>Millisecond Forums</webMaster><lastBuildDate>Tue, 07 Apr 2026 17:45:49 GMT</lastBuildDate><ttl>20</ttl><item><title>HTML Element Connects to Website Twice</title><link>https://forums.millisecond.com/Topic29196.aspx</link><description>Hi,&lt;br/&gt;&lt;br/&gt;I have a website set up that sends an sms to a mobile number when it is accessed.&amp;nbsp; I have my HTML element set up like this in inquist:&lt;br/&gt;&lt;br/&gt;&amp;lt;html pingsite&amp;gt;&lt;br/&gt;/ items = ("&lt;a href="http://mywebsite.com.au/sendsms.php?currenttime=&amp;lt;%script.currenttime%&amp;gt;&amp;amp;mobilenumber=test")"&gt;http://mywebsite.com.au/sendsms.php?currenttime=&amp;lt;%script.currenttime%&amp;gt;&amp;amp;mobilenumber=test")&lt;/a&gt;&lt;br/&gt;&amp;lt;/html&amp;gt;&lt;br/&gt;&lt;br/&gt;This connects to the site just fine but when I check the logs on the website it appears that running this once will result in the script accessing the site twice in quick succession.&amp;nbsp; This is an issue since it will attempt to send the sms twice at this point.&amp;nbsp; Do you have any idea why this would be happening?&lt;br/&gt;&lt;br/&gt;Thank you.</description><pubDate>Wed, 10 Jun 2020 01:47:21 GMT</pubDate><dc:creator>Connorrr</dc:creator></item><item><title>RE: HTML Element Connects to Website Twice</title><link>https://forums.millisecond.com/Topic29201.aspx</link><description>&lt;blockquote data-id="29200" class="if-quote-wrapper" unselectable="on" data-guid="1591753459299" contenteditable="false" id="if_insertedNode_1591753458675"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="29200" title="Move Cursor Below" contenteditable="false"&gt;&lt;span unselectable="on"&gt;+&lt;/span&gt;&lt;/a&gt;&lt;a class="quote-delete" unselectable="on" style="display: none;" href="#" data-id="29200" title="Delete Quote" contenteditable="false"&gt;&lt;span unselectable="on"&gt;x&lt;/span&gt;&lt;/a&gt;&lt;span unselectable="on" class="quote-markup"&gt;[quote]&lt;/span&gt;&lt;div unselectable="on" class="if-quote-header" contenteditable="false"&gt;&lt;div unselectable="on" class="if-quote-toggle-wrapper"&gt;&lt;a class="if-quote-toggle quote-link" href="#" data-id="29200" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Dave - 6/10/2020&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-29200"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;&lt;br/&gt;Our posts crossed:&lt;br/&gt;&lt;a href="https://www.millisecond.com/forums/FindPost29198.aspx"&gt;&lt;a href="https://www.millisecond.com/forums/FindPost29198.aspx"&gt;https://www.millisecond.com/forums/FindPost29198.aspx&lt;/a&gt;&lt;/a&gt;&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="29200"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/blockquote&gt;&lt;br/&gt;Thanks for that, Dave.&amp;nbsp; I just gave it a try but the same issue occurred.&amp;nbsp; I'll have a few more play arounds with the inquisit parameters and see if I can get something working otherwise I'll look at sorting something out in the php code.&amp;nbsp; Thanks for your help.</description><pubDate>Wed, 10 Jun 2020 01:47:21 GMT</pubDate><dc:creator>Connorrr</dc:creator></item><item><title>RE: HTML Element Connects to Website Twice</title><link>https://forums.millisecond.com/Topic29200.aspx</link><description>&lt;br/&gt;Our posts crossed:&lt;br/&gt;&lt;a href="https://www.millisecond.com/forums/FindPost29198.aspx"&gt;https://www.millisecond.com/forums/FindPost29198.aspx&lt;/a&gt;&lt;br/&gt;</description><pubDate>Wed, 10 Jun 2020 01:43:09 GMT</pubDate><dc:creator>Dave</dc:creator></item><item><title>RE: HTML Element Connects to Website Twice</title><link>https://forums.millisecond.com/Topic29199.aspx</link><description>&lt;blockquote data-id="29197" class="if-quote-wrapper" unselectable="on" data-guid="1591752350501" contenteditable="false" id="if_insertedNode_1591752350345"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="29197" title="Move Cursor Below" contenteditable="false"&gt;&lt;span unselectable="on"&gt;+&lt;/span&gt;&lt;/a&gt;&lt;a class="quote-delete" unselectable="on" style="display: none;" href="#" data-id="29197" title="Delete Quote" contenteditable="false"&gt;&lt;span unselectable="on"&gt;x&lt;/span&gt;&lt;/a&gt;&lt;span unselectable="on" class="quote-markup"&gt;[quote]&lt;/span&gt;&lt;div unselectable="on" class="if-quote-header" contenteditable="false"&gt;&lt;div unselectable="on" class="if-quote-toggle-wrapper"&gt;&lt;a class="if-quote-toggle quote-link" href="#" data-id="29197" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Dave - 6/10/2020&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-29197"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;&lt;blockquote data-id="29196" class="if-quote-wrapper" unselectable="on" data-guid="1591752350501" id="if_insertedNode_1591750217496" contenteditable="false"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="29196" title="Move Cursor Below" contenteditable="false"&gt;&lt;span unselectable="on"&gt;+&lt;/span&gt;&lt;/a&gt;&lt;a class="quote-delete" unselectable="on" style="display: none;" href="#" data-id="29196" title="Delete Quote" contenteditable="false"&gt;&lt;span unselectable="on"&gt;x&lt;/span&gt;&lt;/a&gt;&lt;span unselectable="on" class="quote-markup"&gt;[quote]&lt;/span&gt;&lt;div unselectable="on" class="if-quote-header" contenteditable="false"&gt;&lt;div unselectable="on" class="if-quote-toggle-wrapper"&gt;&lt;a class="if-quote-toggle quote-link" href="#" data-id="29196" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Connorrr - 6/10/2020&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-29196"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;Hi,&lt;br/&gt;&lt;br/&gt;I have a website set up that sends an sms to a mobile number when it is accessed.&amp;nbsp; I have my HTML element set up like this in inquist:&lt;br/&gt;&lt;br/&gt;&amp;lt;html pingsite&amp;gt;&lt;br/&gt;/ items = ("&lt;a href="&lt;a href=" http:="" mywebsite.com.au="" sendsms.php?currenttime="&gt;&lt;a href="http://mywebsite.com.au/sendsms.php?currenttime="&gt;http://mywebsite.com.au/sendsms.php?currenttime=&lt;/a&gt;&lt;/a&gt;&lt;%script.currenttime%&gt;&amp;amp;mobilenumber=test" )"=""&gt;&lt;/a&gt;&lt;a href="&lt;a href="http://mywebsite.com.au/sendsms.php?currenttime="&gt;http://mywebsite.com.au/sendsms.php?currenttime=&lt;/a&gt;&lt;%script.currenttime%&gt;&amp;amp;mobilenumber=test" )"=""&gt;&lt;a href="http://mywebsite.com.au/sendsms.php?currenttime=&amp;lt;%script.currenttime%&amp;gt;&amp;amp;mobilenumber=test")"&gt;http://mywebsite.com.au/sendsms.php?currenttime=&amp;lt;%script.currenttime%&amp;gt;&amp;amp;mobilenumber=test")&lt;/a&gt;&lt;/a&gt;&lt;br/&gt;&amp;lt;/html&amp;gt;&lt;br/&gt;&lt;br/&gt;This connects to the site just fine but when I check the logs on the website it appears that running this once will result in the script accessing the site twice in quick succession.&amp;nbsp; This is an issue since it will attempt to send the sms twice at this point.&amp;nbsp; Do you have any idea why this would be happening?&lt;br/&gt;&lt;br/&gt;Thank you.&lt;a class="if-quote-goto quote-link" href="#" data-id="29196"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/blockquote&gt;&lt;br/&gt;No idea. And posting the HTML element in isolation is not sufficient to say anything more.&lt;a class="if-quote-goto quote-link" href="#" data-id="29197"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/blockquote&gt;&lt;br/&gt;Hi Dave,&lt;br/&gt;&lt;br/&gt;The HTML element can be run in isloation but even when it is run in block, trial structure like this:&lt;br/&gt;&lt;br/&gt;&amp;lt;text testInstructions&amp;gt;&lt;br/&gt;/ items = ("This is a test")&lt;br/&gt;/ fontstyle = ("MS Shell Dlg 2", 1.76%, false, false, false, false, 5, 1)&lt;br/&gt;/ color = black&lt;br/&gt;/ size = (50, 50)&lt;br/&gt;/ position = (50, 50)&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;html pingsite&amp;gt;&lt;br/&gt;/ items = ("&lt;a href="http://mywebsite.com.au/sendsms.php?currenttime=&amp;lt;%script.currenttime%&amp;gt;&amp;amp;mobilenumber=test")"&gt;http://mywebsite.com.au/sendsms.php?currenttime=&amp;lt;%script.currenttime%&amp;gt;&amp;amp;mobilenumber=test")&lt;/a&gt;&lt;br/&gt;&amp;lt;/html&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;trial pingsitetrial&amp;gt;&lt;br/&gt;/ stimulustimes = [500 = pingsite]&lt;br/&gt;/ timeout = 1000&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;trial instrTrial&amp;gt;&lt;br/&gt;/ stimulustimes = [0 = testInstructions]&lt;br/&gt;/ timeout = 2000&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;block block&amp;gt;&lt;br/&gt;/ trials = [1 = instrTrial; 2 = pingsitetrial]&lt;br/&gt;&amp;lt;/block&amp;gt;&lt;br/&gt;&lt;br/&gt;It still connects to the site twice.&amp;nbsp; Looks like I might have to work something out server side.&lt;br/&gt;&lt;br/&gt;Thanks.</description><pubDate>Wed, 10 Jun 2020 01:41:01 GMT</pubDate><dc:creator>Connorrr</dc:creator></item><item><title>RE: HTML Element Connects to Website Twice</title><link>https://forums.millisecond.com/Topic29198.aspx</link><description>&lt;blockquote data-id="29197" class="if-quote-wrapper" unselectable="on" data-guid="1591753056072" id="if_insertedNode_1591753054880" contenteditable="false"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="29197" title="Move Cursor Below" contenteditable="false"&gt;&lt;span unselectable="on"&gt;+&lt;/span&gt;&lt;/a&gt;&lt;a class="quote-delete" unselectable="on" style="display: none;" href="#" data-id="29197" title="Delete Quote" contenteditable="false"&gt;&lt;span unselectable="on"&gt;x&lt;/span&gt;&lt;/a&gt;&lt;span unselectable="on" class="quote-markup"&gt;[quote]&lt;/span&gt;&lt;div unselectable="on" class="if-quote-header" contenteditable="false"&gt;&lt;div unselectable="on" class="if-quote-toggle-wrapper"&gt;&lt;a class="if-quote-toggle quote-link" href="#" data-id="29197" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Dave - 6/10/2020&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-29197"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;&lt;blockquote data-id="29196" class="if-quote-wrapper" unselectable="on" data-guid="1591753056072" id="if_insertedNode_1591750217496" contenteditable="false"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="29196" title="Move Cursor Below" contenteditable="false"&gt;&lt;span unselectable="on"&gt;+&lt;/span&gt;&lt;/a&gt;&lt;a class="quote-delete" unselectable="on" style="display: none;" href="#" data-id="29196" title="Delete Quote" contenteditable="false"&gt;&lt;span unselectable="on"&gt;x&lt;/span&gt;&lt;/a&gt;&lt;span unselectable="on" class="quote-markup"&gt;[quote]&lt;/span&gt;&lt;div unselectable="on" class="if-quote-header" contenteditable="false"&gt;&lt;div unselectable="on" class="if-quote-toggle-wrapper"&gt;&lt;a class="if-quote-toggle quote-link" href="#" data-id="29196" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Connorrr - 6/10/2020&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-29196"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;Hi,&lt;br/&gt;&lt;br/&gt;I have a website set up that sends an sms to a mobile number when it is accessed.&amp;nbsp; I have my HTML element set up like this in inquist:&lt;br/&gt;&lt;br/&gt;&amp;lt;html pingsite&amp;gt;&lt;br/&gt;/ items = ("&lt;a href="&lt;a href=" http:="" mywebsite.com.au="" sendsms.php?currenttime="&gt;&lt;a href="http://mywebsite.com.au/sendsms.php?currenttime="&gt;http://mywebsite.com.au/sendsms.php?currenttime=&lt;/a&gt;&lt;/a&gt;&lt;%script.currenttime%&gt;&amp;amp;mobilenumber=test" )"=""&gt;&lt;/a&gt;&lt;a href="&lt;a href="http://mywebsite.com.au/sendsms.php?currenttime="&gt;http://mywebsite.com.au/sendsms.php?currenttime=&lt;/a&gt;&lt;%script.currenttime%&gt;&amp;amp;mobilenumber=test" )"=""&gt;&lt;a href="http://mywebsite.com.au/sendsms.php?currenttime=&amp;lt;%script.currenttime%&amp;gt;&amp;amp;mobilenumber=test")"&gt;http://mywebsite.com.au/sendsms.php?currenttime=&amp;lt;%script.currenttime%&amp;gt;&amp;amp;mobilenumber=test")&lt;/a&gt;&lt;/a&gt;&lt;br/&gt;&amp;lt;/html&amp;gt;&lt;br/&gt;&lt;br/&gt;This connects to the site just fine but when I check the logs on the website it appears that running this once will result in the script accessing the site twice in quick succession.&amp;nbsp; This is an issue since it will attempt to send the sms twice at this point.&amp;nbsp; Do you have any idea why this would be happening?&lt;br/&gt;&lt;br/&gt;Thank you.&lt;a class="if-quote-goto quote-link" href="#" data-id="29196"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/blockquote&gt;&lt;br/&gt;No idea. And posting the HTML element in isolation is not sufficient to say anything more.&lt;a class="if-quote-goto quote-link" href="#" data-id="29197"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/blockquote&gt;&lt;br/&gt;Here's something to try, on a hunch. Set the &amp;lt;html&amp;gt; element to not erase, make it small, and display it off-screen.&lt;br/&gt;&lt;br/&gt;&amp;lt;html pingsite&amp;gt;&lt;br/&gt;/ items = ("&lt;a href="http://mywebsite.com.au/sendsms.php?currenttime=&amp;lt;%script.currenttime%&amp;gt;&amp;amp;mobilenumber=test")"&gt;http://mywebsite.com.au/sendsms.php?currenttime=&amp;lt;%script.currenttime%&amp;gt;&amp;amp;mobilenumber=test")&lt;/a&gt;&lt;br/&gt;/ size = (0%, 0%)&lt;br/&gt;/ position = (-10%, -10%)&lt;br/&gt;/ erase = false&lt;br/&gt;&amp;lt;/html&amp;gt;&lt;br/&gt;&lt;br/&gt;If that doesn't do the trick, you may be able to do something with your SMS sending logic server-side to prevent multiple SMS going out to the same number within a short time span.&lt;br/&gt;&lt;br/&gt;</description><pubDate>Wed, 10 Jun 2020 01:40:51 GMT</pubDate><dc:creator>Dave</dc:creator></item><item><title>RE: HTML Element Connects to Website Twice</title><link>https://forums.millisecond.com/Topic29197.aspx</link><description>&lt;blockquote data-id="29196" class="if-quote-wrapper" unselectable="on" data-guid="1591750218228" id="if_insertedNode_1591750217496" contenteditable="false"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="29196" title="Move Cursor Below" contenteditable="false"&gt;&lt;span unselectable="on"&gt;+&lt;/span&gt;&lt;/a&gt;&lt;a class="quote-delete" unselectable="on" style="display: none;" href="#" data-id="29196" title="Delete Quote" contenteditable="false"&gt;&lt;span unselectable="on"&gt;x&lt;/span&gt;&lt;/a&gt;&lt;span unselectable="on" class="quote-markup"&gt;[quote]&lt;/span&gt;&lt;div unselectable="on" class="if-quote-header" contenteditable="false"&gt;&lt;div unselectable="on" class="if-quote-toggle-wrapper"&gt;&lt;a class="if-quote-toggle quote-link" href="#" data-id="29196" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Connorrr - 6/10/2020&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-29196"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;Hi,&lt;br/&gt;&lt;br/&gt;I have a website set up that sends an sms to a mobile number when it is accessed.&amp;nbsp; I have my HTML element set up like this in inquist:&lt;br/&gt;&lt;br/&gt;&amp;lt;html pingsite&amp;gt;&lt;br/&gt;/ items = ("&lt;a href="&lt;a href="http://mywebsite.com.au/sendsms.php?currenttime="&gt;http://mywebsite.com.au/sendsms.php?currenttime=&lt;/a&gt;&lt;%script.currenttime%&gt;&amp;amp;mobilenumber=test" )"=""&gt;&lt;a href="http://mywebsite.com.au/sendsms.php?currenttime=&amp;lt;%script.currenttime%&amp;gt;&amp;amp;mobilenumber=test")"&gt;http://mywebsite.com.au/sendsms.php?currenttime=&amp;lt;%script.currenttime%&amp;gt;&amp;amp;mobilenumber=test")&lt;/a&gt;&lt;/a&gt;&lt;br/&gt;&amp;lt;/html&amp;gt;&lt;br/&gt;&lt;br/&gt;This connects to the site just fine but when I check the logs on the website it appears that running this once will result in the script accessing the site twice in quick succession.&amp;nbsp; This is an issue since it will attempt to send the sms twice at this point.&amp;nbsp; Do you have any idea why this would be happening?&lt;br/&gt;&lt;br/&gt;Thank you.&lt;a class="if-quote-goto quote-link" href="#" data-id="29196"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/blockquote&gt;&lt;br/&gt;No idea. And posting the HTML element in isolation is not sufficient to say anything more.</description><pubDate>Wed, 10 Jun 2020 00:51:43 GMT</pubDate><dc:creator>Dave</dc:creator></item></channel></rss>