Re: hidden (phantom) file downloads
This WebDNA talk-list message is from 2000
It keeps the original formatting.
numero = 31479
interpreted = N
texte = WebMerchant does this automatically, with ShipVia=WEB. Since WC4.0 is going to include WebMerchant for free, I would recommend waiting for that to come out, rather than reinventing the wheel. If you really wantto do it yourself, do something like this:1) on the final invoice page, copy the file(s) to a temp directory with the name of the cart as its name, i.e. /temp/[cart]/realfile.name2) produce a page that has link(s) to that directory to redirect the user to; make sure the page says that there is no point to bookmark it.3) write a recursive page to delete all directories older than 24 hours and a trigger to run it once a day.It is not too hard, but waiting for WebMerchant would be a much easiermethod.HTHJohn PeacockBritt T. wrote:> > I am trying to have a members only restricted area where paying> subscribers can log in and download pdf or word files that they have> paid for - but I do not want to reveal the true location of the file.> Is anyone out there doing something like this?> > Any ideas?> > --> ======================================================================> Britt Thompson | PO Box 1989> FishingWorld.com | Lindale, TX 75771> Easttexas.com | Ph: (903) 882-8877 / Fax: (903) 882-3110> ======================================================================> > -------------------------------------------------------------> This message is sent to you because you are subscribed to> the mailing list
.> To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to -------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to
Associated Messages, from the most recent to the oldest:
WebMerchant does this automatically, with ShipVia=WEB. Since WC4.0 is going to include WebMerchant for free, I would recommend waiting for that to come out, rather than reinventing the wheel. If you really wantto do it yourself, do something like this:1) on the final invoice page, copy the file(s) to a temp directory with the name of the cart as its name, i.e. /temp/[cart]/realfile.name2) produce a page that has link(s) to that directory to redirect the user to; make sure the page says that there is no point to bookmark it.3) write a recursive page to delete all directories older than 24 hours and a trigger to run it once a day.It is not too hard, but waiting for WebMerchant would be a much easiermethod.HTHJohn PeacockBritt T. wrote:> > I am trying to have a members only restricted area where paying> subscribers can log in and download pdf or word files that they have> paid for - but I do not want to reveal the true location of the file.> Is anyone out there doing something like this?> > Any ideas?> > --> ======================================================================> Britt Thompson | PO Box 1989> FishingWorld.com | Lindale, TX 75771> Easttexas.com | Ph: (903) 882-8877 / Fax: (903) 882-3110> ======================================================================> > -------------------------------------------------------------> This message is sent to you because you are subscribed to> the mailing list .> To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to -------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to
John Peacock
DOWNLOAD WEBDNA NOW!
Top Articles:
Talk List
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...
Related Readings:
Forms Search Questions (1997)
New commands in Final candidate (1997)
[BULK] [WebDNA] [BULK] WebDNA 7 - Showing every other far DB - Fault! (2011)
WebCat for Unix?? (1997)
[WebDNA] Connect to MS SQL (2013)
Line Feed Character Appended (1998)
Help! WebCat2 bug (1997)
A Global Variable (1997)
printing twice? and fix (1997)
Here we go again... was: DDEConnect not working (2006)
checkbox results written to a database (1999)
taxTotal confusion (1998)
Reversed words (1997)
Search returns all, not 20 (1997)
date (1999)
Read and weep (2003)
Server slowing down. (1997)
is [Bankres] an internal webcat variable? (1999)
WCS Newbie question (1997)
Help name our technology! (1997)