Go Back   CHECKBOX® Online Community > Checkbox® > CHECKBOX® Developer Kit

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 06-10-2008, 05:39 PM
toolbox
Guest
 
Posts: n/a
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.
Reply With Quote
  #2 (permalink)  
Old 06-16-2008, 01:34 PM
Administrator
 
Join Date: Mar 2007
Location: Prezza Technologies
Posts: 192
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
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT -5. The time now is 03:34 AM.


SEO by vBSEO 3.2.0