CGDevTools Forum

Welcome to the Official CGDevTools Support Community Forums.

VisualCaptcha not loading in IW 15.1.7 / CG 4.1.0.222

by magosk » 24 Oct 2019 15:06

Hi. I am trying to migrate to IW 15.1.7 and CG 4.1.0.222 from IW 15.0.15 and CG 4.1.0.113. I have some forms with a TIWCGJQVisualCaptcha control which does not display properly (just blank where it should be on the page). Are you aware of any changes between these versions that could explain this? If so, is there a fix or workaround?

Note 1: as recommended for security reasons, I have the VisualCapchaAssets folder outside the wwwroot folder and set the AssetsPath property to this location. I have updated the files in this folder as well, but without any change.
Note 2: when I open up the frame which holds the VisualCaptcha control in design time, it shows "Access violation at address 00000000 in module 'bds.exe'. Read of address..."

Best regards

Magnus Oskarsson
magosk
 
Posts: 181
Joined: 07 Oct 2013 08:41

by magosk » 31 Oct 2019 16:39

Hi. I have returned to this issue as it is beginning to be urgent for us to be able to make a release based on IW 15.1.7. I built your JQueryDemoV3 demo application and VisualCaptcha is blank there as well. (I might note though that the demo is perhaps not updated properly for IW 15, after selecting an initial component to demo when a session is started, the rest of the session does not work properly).

Another note: as you could perhaps see from the pictures in another post from me (for the JQMPopup control) I was running in evaluation mode since I discovered that our site license had just expired. When discussed with my manager, he wanted to be sure that there was a working version before we renewed. I hope this is not the reason for that the support response times in the forum seems to be much longer than they used to be. Previously, the support here was awesome.

So some feedback here would be much appreciated.

Best regards

Magnus Oskarsson
magosk
 
Posts: 181
Joined: 07 Oct 2013 08:41

by magosk » 01 Nov 2019 13:32

Hi again. I have narrowed down the problem by comparing with an old test application I wrote for VisualCaptcha. The control stops working if you run your IW application with SessionOptions.UniqueURL = True (formerly known as AllowMultipleSessionsPerUser) and SecurityOptions.SurrogateSessionID = True in the ServerController, which is what we want from a security perspective. When I debug on the client side, I can see that the server returns TEXT/HTML when the control JS code expects JSON. I hope this helps you to analyze and fix the issue.

I noted another thing: when I get the control to work in the new version, the images load much slower than in the previous version (it takes many seconds for the control to be ready, before it was more or less instantly).

Best regards

Magnus Oskarsson

P.S. We have just now renewed our license.
magosk
 
Posts: 181
Joined: 07 Oct 2013 08:41

by magosk » 07 Nov 2019 10:59

Hi again.

Any news on the two issues with the latest IW/CG version (VisualCaptcha not working with SessionOptions.UniqueURL = True and SecurityOptions.SurrogateSessionID = True, and the very slow loading of the captcha images)?

Best regards

Magnus Oskarsson
magosk
 
Posts: 181
Joined: 07 Oct 2013 08:41

by INFOSYS » 12 Nov 2019 12:43

Hi,
same issue: Access Violation at design time and no load at runtime.

Tested with

Delphi 10.2.3 Tokyo, IW 15.1.7, CG 4.1.0.222

and

Delphi 10.3.2 RIO, IW 15.1.7, CG 4.1.0.222

Alfredo.
INFOSYS
 
Posts: 24
Joined: 19 Feb 2014 11:12

by magosk » 20 Dec 2019 14:21

Any news on a fix for this?
magosk
 
Posts: 181
Joined: 07 Oct 2013 08:41


Return to General

cron

Who is online

Users browsing this forum: No registered users and 2 guests

Contact Us.