Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do I activate a script in my webpage?

Status
Not open for further replies.

prworld

Technical User
Dec 8, 2004
18
GB
Hi

I use Frontpage to create a simple website that streams a flash movie SWF file to the viewer. I do not want the SWF file to remain in the client user's PC cache.

I have been looking for a way of protecting my SWF file so it does not remain on the users PC (in the cache).

I have discovered that if I link a 2nd SWF file with a single frame to the end of the original SWF file, as long as the 2nd file has the same filename and location it overwrites the original in the cache thereby effectively removing the original.

I wish to run a simple script on my server that will rename the file before streaming it. This way the 2nd SWF file (with a blank page) comes from the same location and 'overwrites' the original in the client PC cache (therefore effectively removing the original SWF video from the client PC after it has been viewed). This works if when I do it manually, however the file has to have the same name AND must come from the same location in order to overwrite the cached file.

I don't know how to cause the file on my server to be renamed by a user clicking a link on the webpage, can this be done? if so how?

Any help will be greatly appreciated.

Many thanks in advance.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top