Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
Classic ASP Professional For advanced coder questions in ASP 3. NOT for ASP.NET 1.0, 1.1, or 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Professional section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old August 25th, 2003, 02:23 PM
Authorized User
 
Join Date: Jul 2003
Location: Antwerpen, , Belgium.
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default How to check file size on customer side

Hi all,
I'm looking for a solution for the following problem.

A customer logs in to the webserver and see a list with requested file where he payed for. Once the download was sucesfull he cannot download the file a 2th time.

Any idea how to solve this practical ?

Thanks,
Vincent


  #2 (permalink)  
Old August 26th, 2003, 02:06 AM
Authorized User
 
Join Date: Jun 2003
Location: Rottum, , Netherlands.
Posts: 42
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I don't know how you designed the part where the customer ordered and paid for the download, but I would have made an "order" table and an "orderitems" table. The orderitems table can have a boolean field "isDownloaded" that is changed from 0 to 1 (or false to true) when the customer has downloaded the file.

Regards

Gerhard Wentink
  #3 (permalink)  
Old August 26th, 2003, 01:25 PM
Authorized User
 
Join Date: Jul 2003
Location: Antwerpen, , Belgium.
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi all,

the problem is not the download but the confirmation that the download has been done succesfull or not!

Thanks,
Vincent
  #4 (permalink)  
Old August 27th, 2003, 12:23 AM
Authorized User
 
Join Date: Jun 2003
Location: Rottum, , Netherlands.
Posts: 42
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I think there is not an easy way to check this. What I can think of is an ActiveX control or a Java servlet, installed on the customer's computer that manages the download.
Otherwise there is no way to have access to the customer's computer.

Regards,

Gerhard Wentink


Similar Threads
Thread Thread Starter Forum Replies Last Post
Verifying uploaded File Size in Client-side Ushhh ASP.NET 1.0 and 1.1 Professional 5 August 30th, 2006 07:13 AM
File size on customer side vincentvdm Javascript How-To 2 August 25th, 2003 04:16 PM
File size on client side vincentvdm Classic ASP Basics 0 August 25th, 2003 02:19 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.