...answers when you need them
866-430-8274    1-617-715-9605
  • Free Version
  • Contact Us
  • Login

Checkbox Forums

Register | Help
+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    toolbox Guest

    Default caching issue when using API

    After using the code which can be found in this thread

    http://www.prezzatech.com/community/...questions.html

    to load a survey into an external app, I have started having a problem with caching. If I change the text for one of the survey questions in the checkbox app, that change isn't reflected in the external application using the API. The only way I have found to force the external application to show the new text immediately is to restart IIS.

    I have tried the following to load the response template without caching:
    ResponseTemplateManager.GetResponseTemplate(CheckB oxSurveyID, false), but this doesn't seem to solve the problem, the text doesn't change immediately, but seems to update after a random amount of time.

    Any help on this topic would be appreciated.

  2. #2
    ncushing is offline Administrator
    Join Date
    Mar 2007
    Location
    Prezza Technologies
    Posts
    207

    Default

    Calling the GetResponseTemplate(surveyId, useCaching) method and passing false as the second parameter should address this. You reported in a support ticket that this didn't seem to work. A developer is currently looking at this and I will update this thread when I have more information.

    -Noah

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Feedback

SEO by vBSEO 3.5.0