How do I use PHP to display confirmation tracking code only once w/o using a database?
<p>How do I make it so the tracking code only runs once...and isn't triggered again on a refresh?</p>

<p>I searched but it seems almost always people are saying to use a database...but I was hoping to avoid that....is it possible? </p>

<p>Thanks</p>

<p>here is the solution for future searchers:</p>

<p>before <code>&lt;HTML&gt;</code> put: <code>&lt;?php session_start(); ?&gt;</code></p>

<p>Then do this:</p>

<pre><code>&lt;?php
if($_SESSION['check']!=1)
{
$_SESSION['check']=1;
echo '&lt;div class="show"&gt;tracking code&lt;/div&gt;';}
?&gt; 
</code></pre>
