We have custom button "Save design" in product view page , once guest user clicked on that, it will display pop up as below., but after sometime, onclick button will not display pop up box, but once we delete cookies from browser, than pop up will display again.
In Private window also pop up will display initially, after some time same issue.
<button onclick="return setproductlogin(\'<?php echo
Mage::registry("current_product")->getId()?>\', event);setrequestlogin();"
id="submit-editorApply-{{rand}}" >SAVE DESIGN</button>
script
function setproductlogin(pid, event)
{
event.preventDefault();
document.getElementById("likeproduct_id").value=pid;
jQuery("#productlistlogin").trigger("click");
return false;
}
browserBrowser cookies
Edit
when iI delete var/session folder also issue is still there, pop up will work only after removing cookies from Browser