Redirect after http 200

D

Danny

Hi,

I have no idea if this is actually possible in plain asp but any help might
be welcome :

After a user has downloaded some content/file from my webserver (http_status
=200) I would like to redirect him to a file -lets say- "ThankYou.htm"

So basically sth like this

If Response.Status ="200 OK" then
Response.Redirect "ThankYou.htm"
Else
Response.Redirect "GetLost.htm"
End If

The question is : how would i implement this ONLY for the document to be
downloaded ? The document to be downloaded is part of a collection from a DB
query - so it is know to me as sFileName = rsPDF_ID("PDF_File")
Thx

Danny
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,158
Messages
2,570,882
Members
47,414
Latest member
djangoframe

Latest Threads

Top