web to PDF and back question

  • Thread starter Thread starter Peter J. Hunter
  • Start date Start date
P

Peter J. Hunter

I have a server method that generates a crystal report in pdf format. I
send the file to the client as follows:

response.contenttype="application/pdf"
response.writefile("myreport.pdf")
response.end()

This works fine, EXCEPT that I would like the client to return to the
originating page, after finishing with the pdf.

Suggestions? TIA.
 
I would open the PDF in a new browser instance. That way they can close out
the pdf and get back to where they left off.
 
Back
Top