Cookie once per browser session

  • Profile Image
    sakurai
    Asked on December 28, 2011 at 10:24 AM

    How do I set  up a cookie to "popup" a lightbox form only once per browser session?

    I see a refference to the solution on this post by Liyam:

    http://www.jotform.com/answers/28146-how-do-I-have-my-form-popup-in-lightbox-as-soon-as-they-visit-my-site

     

    My code below:

    <script src="//www.jotform.com/min/g=feedback" type="text/javascript">
    new JotformFeedback({
    formId:'13561923201',
    base:'http://www.jotform.com/',
    windowTitle:'Title Me',
    background:'#FFA500',
    fontColor:'#FFFFFF',
    type:false,
    height:500,
    width:700,
    openOnLoad:true
    });
    </script>
    <a class="lightbox-13561923201" style="cursor:pointer;color:blue;text-decoration:underline;">Yes! Send me the FREE Reports</a>