"William Tasso" <ngx@tbdata.com> wrote in message
news:e7zZPG3XDHA.1644@TK2MSFTNGP10.phx.gbl...[color=blue]
> Bert Van Aerschot wrote:[color=green]
> > Hi all,
> >
> > I have to make a page with an inline frame, in this frame will come a
> > dynamic generated PDF.
> > The PDF will have to be stored on the server to load in the preview
> > frame but after the user had loaded the pdf in his browser I want it
> > removed.
> >
> > Any suggestions how to do this are very welcome.[/color]
>
> I'm not familiar with dynamic PDFs but I assume it's just a call. Can you
> send the result straight to the browser with response.binarywrite instead[/color]
of[color=blue]
> saving it to disk?[/color]
actually you can, but I (actually my boss ;-) wants it in an inline frame in
a regular page
[color=blue][color=green]
> > I thougt maybe I could use a General variable defined in global.asa
> > that counts from 1 to 100 or something and every time a pdf is
> > generated the number = number + 1 so I can create a pdf with the name
> > ' filename & number & ".pdf" ' so that there would be constantly 100
> > pdf's on the server but not more and there is no danger of mixing up
> > the preview which users get to see because it takes a while before
> > their number is used again / their pdf is overwritten...
> >[/color]
>
> 1 to n is always tricky. if n is too small it gets over-written too[/color]
quick.[color=blue]
> if n is too large the result hangs around for too long. have you[/color]
considered[color=blue]
> using the session id?[/color]
I don't see how this could solve my problem ?
Basically it comes down to this :
I generate a file put it on my HD send it to a website visitor in an inline
frame and then I don't need the file anymore... and I want it cleaned up
(or overwritten as I suggested myself ;-)
[color=blue]
> --
> William Tasso -
http://WilliamTasso.com
>[/color]
Thx for your effort anyway