(Apology for double posting - this forum is where this post should be)
I have many pdf files for download by registered members. But I dont want them to download all in one sitting. I want to control the number of downloads each member can download per per day. This is really to prevent people stealing all my downloads.
I think this can be achieved using a session or a cookie which I can set to expire in a day. Theres an example of this working at deltascripts.com on their calssifieds script downloads. When you download, a session identifier is seen in the header. You cannot download a second time until the next day. It is 'date' controlled.
I desperately need some help on this. I have looked at PnOwl and UploadDownload modules. Neither will do this, though PnOwl has a quota system, it is still not what i want -
PN Owl and NukeOwl have also got problems.
I know there is a simpler way. I dont want to replace the
PostNuke download system with another.
PostNuke downloads work fine, but there MUST be a way of blocking the download via a session or cookie.
Someone suggested I create a new table in the database, and have a column for "num downloads" .... each time they download increment the value and each time they attempt to download check against this value.
But i dont know how to link this in with the downloads or sessions part.
Any help would be greatly appreciated.