Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

How to LOG Download Info in <A> TAG

0 views
Skip to first unread message

Prabhat

unread,
Apr 10, 2006, 8:22:34 AM4/10/06
to
Hello friends,

Currently I have one asp page which opens after the proper ID entered by
user and it generate <A> tag with application software download link. When
the user click on the link (which is pointed to the actual physical file
.EXE of Size around 10 - 20 MB) it downloads file. But how do i change the
logic so that the activity will get LOG in some text file. Like which user
has downloaded which file. (it should log into text file).

I think I need to remove the <A> for direct download instead it shoudl call
an asp page whcih should log the event and push the file to user. Please
suggest with sample code if possible.

Regards
Prabhat


Mike Brind

unread,
Apr 10, 2006, 8:36:05 AM4/10/06
to

Correct. The first link should go to an asp file that writes the event
to a text file, and then should redirect to the download.

You need the scripting.filesystemobject to write the text file. There
are hundreds of examples here:
http://www.google.co.uk/search?hl=en&q=Scripting.FileSystemObject+-net&btnG=Search&meta=

--
Mike Brind

Anthony Jones

unread,
Apr 11, 2006, 7:43:02 AM4/11/06
to

"Prabhat" <not_a...@hotmail.com> wrote in message
news:%236YE0lJ...@TK2MSFTNGP03.phx.gbl...

Response.Redirect ?

0 new messages