on 11-30-2006 9:26 AM
Hi,
I am displaying a PDF file in an IFrame where the frame points to an absolute URL accessed by a method of the class IWDCachedWebResource.
The code snippet:
IWDCachedWebResource genResource = WDWebResource.getWebResource( byte[], WDWebResourceType.PDF);
wdContext.nodeXXXXX.setIFrameURL(genResource.getAbsoluteURL());
This absolute URL expires very quickly leavng a 404 Not Found exception.
Can we influence this setting making this absolute URL to last longer?
Regards
MK
Meesum,
Try to add line: genResource.setReadOnce( false )
Otherwise there is a risk that WD invalidates cached resource after first read (this may be HEAD request from browser).
Valery Silaev
SaM Solutions
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Seem strange.
Very quickly, how long?
launch the code, often. Into a wdModifyView.
Really seem strange.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.