View Full Version : Setting and Checking for Cookie
getlowdogg369
04-25-2006, 05:55 PM
Hello everyone. Can someone please make a script for me? I want it so it checks to see if certain content is stored on the visitor's hard drive. If so, I want the content to load off of the visitor's hard drive when my website is visited instead of the content loading off of my website. If not, I want it to store the files from my website to the visitor's hard drive. The path's of the specific files I want to be stored and loaded on the visitors computer are images/homeonmouseover.png, images/uploadonmouseover.png, images/tosonmouseover.png, images/faqonmouseover.png, images/browseonmouseover.png, images/adminonmouseover.png, images/contactonmouseover.png, and bleep.wav. Thanks a bunch!
- Jason
Jon Hanlon
04-25-2006, 07:04 PM
You cannot take over remote computers like that.
getlowdogg369
04-25-2006, 11:39 PM
It is not taking over the computer. It is just storing images on the visitor's computer, then it laods of there computer of future visits...
Jon Hanlon
04-25-2006, 11:45 PM
Browsers will cache images on user's PCs, but there's no way to dictate what images will be stored and for how long. Browsers have an internal algorithm that dictates when they go back for a refresh. You can try setting a META tag, but it's still only a suggestion to the Browser.
Scripts cannot check to see if an image has already been cached -- this would be a major privacy breach.
vBulletin® v3.6.7, Copyright ©2000-2009, Jelsoft Enterprises Ltd.