Ecommerce software home
Shopping Cart Software Forum for Ecommerce Templates
 
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

Find us on Facebook Follow us on Twitter View our YouTube channel
Search our site
Forum Search
Google Site Search
Author « Topic »  

papawj
New Member

USA
62 Posts

Posted - 01/28/2026 :  02:58:01  
In regards to PCI compliance, I found this article ( https://www.ecommercetemplates.com/support/topic.asp?TOPIC_ID=116476&SearchTerms=ecttestcart,cookie) that a modification of the inccart.php file to comment out three lines will resolve the false alert some pci scanners are reporting. Just wanted to confirm if the same is true for the ASP version? I see the lines :

<script>/* <![CDATA[ */
var ectvalue=Math.floor(Math.random()*10000 + 1);
document.cookie="ECTTESTCART=" + ectvalue + "; path=/<% print IIfVs(request.servervariables("HTTPS")="on","; secure")%>";
if((document.cookie+";").indexOf("ECTTESTCART=" + ectvalue + ";") < 0) document.write("<%=jscheck(xxNoCk & " " & xxSecWar)%>");
/* ]]> */</script>


wanted to confirm if s it safe to comment out this section please.

Vince
Administrator

43274 Posts

Posted - 01/29/2026 :  07:31:23  
That's just a test to see if javascript is enabled in the customer's browser and if you don't mind not having the test then sure, that can be commented out.

Vince

Click Here for Shopping Cart Software
Click Here to sign up for our newsletter
Click Here for the latest updater
  « Topic »  
Jump To:
Shopping Cart Software Forum for Ecommerce Templates © 2002-2022 ecommercetemplates.com
This page was generated in 0.02 seconds. Snitz Forums 2000