TIWDBImage does not work with vFileAccess = faRequireSession

<< Click to Display Table of Contents >>

Navigation:  Forum >

TIWDBImage does not work with vFileAccess = faRequireSession

Forum link

 


 

11-14-2018, 08:54 AM:

 

Hi! We discovered that a frame containing a TIWDBImage did not work when we had set vFileAccess := faRequireSession in IWServerControllerBaseValidateCacheFileAccess. If you debug the web page you get the following error:

 

Code:

 

HTTP404: NOT FOUND - The server has not found anything matching the requested URI (Uniform Resource Identifier). GET - http://192.168.4.30:9013/iJpZEkkD90Ig4vhmnuKR8q/$/temp/ATZiwn17FqBleI5B3MTnwWxFG.png

 

 

 

As a temporary bug fix I can set vFileAccess := faGrant for png files, but we would like to have session validation for all cache files.

 


 

11-26-2018, 12:29 PM:

 

Hi again! I can understand that you have been busy with the new Delphi release. Just wanted to check if you have had a chance to look at this error yet?

 


 

11-26-2018, 01:42 PM:

 

Are you trying to access the image to start a session, or after a session has started?

 


 

11-26-2018, 01:46 PM:

 

(11-26-2018, 01:42 PM)kudzu Wrote: [ -> ]Are you trying to access the image to start a session, or after a session has started?

 

After a session has started.

 


 

11-26-2018, 09:24 PM:

 

Hi, AFAIK this have been already fixed. Which version are you using?

 


 

11-27-2018, 07:39 AM:

 

Sorry, I was thinking this was the previous report on audio files. This is a different issue. We are going to investigate it and I'll give you an answer ASAP.

 

Kind regards