Searched the archives and found a few things that I'm going to try,
but I don't think they match what I'm seeing.
Short version of what is happening.
Generating dynamic PDF created using PDF Lib Plugin.
Document are created in a tmp directory.
Document to blob called
Document deleted
If blob size # 0, write blob else error.
While my code was not pure (see below), I would see that some
documents were not being deleted and we never received a call about
the error message. The user appeared to try it again since there
would be multiple documents from the use and same timeframe.
It seems that most of my problems are from IE users at a couple
locations with not the best of connections. PDF opened in new window
and window would open, IE would report done, but no PDF.
These are 28k PDF. Most of the documents left in tmp directory were
complete.
I've added (from archive suggestion)
set cache control("")
set expires(-1)
before the write blob, but won't know until next week if that helps.
Still does not explain document not being deleted.
Looking for suggestions. I cleaned up the code checking ok and
logging any errors, but won't know until next week. Just seeing if
anyone has any suggestions on what to try or is it just IE?
Steve
original code
...document created with plugin - it is there
c_blob($myBlob)
document to blob($doc;$myBlob)
delete document($doc)
if(blob size($myBlob)>0)
write blob($myblob;"application/pdf")
else
Writebr("An error occurred it creating the PDF document - Please
call Montgomery IT")
end if
4d 2003, mac os x, latest active4d
_______________________________________________
Active4D-dev mailing list
[email protected]
http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev
Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/