How to clear the cache

Alex Tweedly alex at tweedly.net
Sun May 19 10:06:10 EDT 2013


unload URL tURL

or if you prefer make the URL vary each time

add 1 to tCount
put ("http://mydomain.com/theurlname.lc?count=" & tCount) into tURL
and use that URL.

-- Alex.


On 19/05/2013 12:59, Shawn Blc wrote:
> I have a little script to check for an internet connection.  Problem is
> that if I take this little script out of the preOpenCard and put it into a
> button the results are the same.  It keeps the last state, regardless if I
> disconnect my wifi or not.  I'm thinking that the URL that I'm connecting
> to to check for an internet connection is still in cache.
>
> How would I clear this cache?   These don't work.
> clear URL
> clear cache
>
> Any help is appreciated or at least point me in the right direction.
>
> Dank.
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode





More information about the Use-livecode mailing list