close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Secure and Expiring Download Links

Thread began 11/01/2010 10:37 pm by e1-d50y-nb0m-79jp412475 | Last modified 11/02/2010 12:01 pm by Jason Byrnes | 917 views | 5 replies |

e1-d50y-nb0m-79jp412475

Secure and Expiring Download Links

I want to be able to generate secure links that will expire with a # of downloads and/or time. Something needs to be able to track how many times a file is downloaded.

I know I could add logic to have an expire time calculated, but how do you track how many times they have been downloaded? And how do you generate secure download links?

Thanks.

Sign in to reply to this post

Jason ByrnesWebAssist

Use the download file server behavior provided as part of the File Manipulation functions of CSS Form Builder.

You will need to make sure the downloadable files are stored in a location on the server that cannot be accessed through a web URL.

The download File behavior includes a download count option which will update a column in the database everytime the file is downloaded.

Sign in to reply to this post

e1-d50y-nb0m-79jp412475

OK - but how do I go about expiring the links after so many downloads or expiration time. How does the cart know when a download is occurring and do a logic check before hand?

Is it possible to have multiple sub-products included as part of a product? Say I have product a, product a is actually product a, product b, product c.

Sign in to reply to this post

Jason ByrnesWebAssist

you use a recordset to determine whether to show the download link or not based on the number downloads. by using a where clause in the recordset you can check todays date against an expiration date or the download count column against the number of allowed downloads.

yes, your products can include sub products, though the sub products will not display in the cart as separate line items.

Sign in to reply to this post

e1-d50y-nb0m-79jp412475

OK Thanks - I'm sure I will have more questions when I start to do this.

Sign in to reply to this post

Jason ByrnesWebAssist

there is documentation on the eCart support page you may find helpful:
ecart/

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...