"brucie" <****@bruciesusenetshit.info> wrote in message
news:...
> in post: <news:Tr_qc.69800$ om>
> Mabden <> said:
>
> > Kisses brucie, but those seem like whole apps, some costing $100.
>
> asp Creating a Click-Through Tracking System tutorial
> http://www.4guysfromrolla.com/webtech/012901-1.shtml
>
> > The freebie I looked at had about 10 ASP scripts with logins, mySQL
> > stuff, and everything.
>
> you need something to store the stats, if not a db then a flatfile.
>
> > I guess I could make the link go to its own asp file and use some
> > server-side redirect. So my new question is how can I "force" or "push"
a
> > download from an ASP file.
>
> no forcing or pushing involved. you just link to the script passing a
> variable to identify the file the visitor wants to download (assuming
> there is more than one file to download) not to the downloadable file
> itself. once the script has done its goodies it sends a location header
> to the requested file.
>
Maybe I didn't get what you were saying? If so bear with me...
I don't think I'm explaining what I mean. I have no problem tracking the
users who hit my site. A flat text file is fine, as I use a Perl script to
view hits. But now I have added a link to a zip file (one zip file,
containing one file). I want to know when someone has clicked on the
download link, which just downloads the file. I realize I could make a
second page that the link goes to, so I can use ASP to write more info to a
file (DB, flat file, whatever), but the point is, the user has clicked on a
link and expects it to "just download". They don't want to have to click
ANOTHER link to "really" download the file. I just want to capture the fact
that they clicked on the original link on my main page.
> ...it sends a location header to the requested file.
This may be the piece I need. But I don't understand what this means.
I'm guessing that there's no way. I hoped someone would tell me about a
JavaScript onclick function or
something...
--
Mabden