Is there any way to force clear users cache and/or cookies? Especially in Safari/Webkit.
Many thanks!
Yes. Trick the user into selecting the appropriate menu item which clears their cookies and cache. I kid! That would be called "social engineering" type of hacking and is inadvisable for those wishing to stay clear of legal troubles.
There are a couple of tags that may be useful, depending on what you want to do:
<META HTTP-EQUIV="PRAGMA" CONTENT="NO-CACHE">
<META HTTP-EQUIV="Refresh" CONTENT=...time>
This only controls your own web page, not the cache in general. Of course, you can set your own site's cookies to whatever you want.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With