21286 Posts in 5733 Topics by 2602 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 153 Views |
-
Caching value

28 October 2012 at 2:36am
SilverStripe 2.4.7
Hi
I need urgent help with this but basically I am trying to allow json to be passed to a method via a url call.
I wrote the method and it works but only once, then it seems to cache something that stops the method running again.
Can someone please help me out with this? I read that Restful Server allows something like this but I have no idea how to implement it.
I would greatly appreciate any help.
-
Re: Caching value

28 October 2012 at 11:38am
This usually happens when you use GET for the request. There's two main ways to get around this:
- Use POST instead
- Append the current time to the request. So your URL would be 'url?' + (new Date).valueOf()
| 153 Views | ||
|
Page:
1
|
Go to Top |

