What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.

At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.

We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.

  • Profile Image

    Cookie once per browser session

    Asked by sakurai 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:



    My code below:

    <script src="//www.jotform.com/min/g=feedback" type="text/javascript">
    new JotformFeedback({
    windowTitle:'Title Me',
    <a class="lightbox-13561923201" style="cursor:pointer;color:blue;text-decoration:underline;">Yes! Send me the FREE Reports</a>

    Page URL:

  • Profile Image

    Answered by fxr on December 29, 2011 at 09:50 AM

    Try using php to set and check for your cookie. 

    Please inspect this code and see if you are able to work it into your webpage.  -> 

    The session cookie will expire when the browser window is closed. 

    That should work as per the description of your needs, let me know if you have any questions on it.