We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 6460
    • 6 Posts
    Hi all
    I have built a survey in asp classic and it is all working fine. What I need help with now is the restricting to the amount of times the survey will appear. Ideally I would like it to pop up each browser session but not every time a user goes to the same page. I have done something similar using the global.asa and again with cookies before but these methods don’t seem to work with modx. Has anyone done this before?

    Thanks

    Daniel
      • 28042 ☆ A M B ☆
      • 24,524 Posts
      Cookies work fine in MODx.
        Studying MODX in the desert - http://sottwell.com
        Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
        Join the Slack Community - http://modx.org
        • 6460
        • 6 Posts
        HI

        Yes, cookies work for a lot of things but when i tried to store one to say the user has already selected yes or no on the survey. it makes no difference, the survey will open regardless.

        Dan
          • 28042 ☆ A M B ☆
          • 24,524 Posts
          You checked for the presence of this cookie before loading the survey form?
            Studying MODX in the desert - http://sottwell.com
            Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
            Join the Slack Community - http://modx.org