View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Need Help with setting up recordset for downloads

Thread began 11/22/2009 12:40 am by bac4571381904 | Last modified 12/21/2009 2:25 pm by bac4571381904 | 2614 views | 29 replies

Eric Mittman

To get started on this you will need to ensure that you have a user login area of the site, there will be no way to securely deliver the items to the user unless you can verify their identity.

After you have that setup you will need to ensure that your items table has the file name listed there.

You will need to make sure that you are getting the order and details stored in your db at the time of the checkout.

One the checkout success page you can put in links to the files that the user has access to, they should go to your download page with an identifier attached to them to indicate the item id. On the download page you will create a recordset that selects all from the item details table and joins the items table on the item id, you will filter it by the item id and where the downloads left is >= 1 and where the userID matches the id of the logged in user.

For the download server behavior you will trigger it on the recordset if there is at least one result. For the file itself you want to make sure to reference the file name column from your items table. This way it will ensure that the user can only download items they have purchased and that there are downloads left for them on that item. If any of these conditions are not met then the download will not occur.

You will need to ensure that you have all of these parts in place, when you get to the query on the download page if you need any further assistance or direction let me know. The way I described it here should work but if it does not or if you have trouble following I will try to help you get it working.

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





Ease of use


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...