CGDevTools Forum

Welcome to the Official CGDevTools Support Community Forums.

What is the value of CaptchaDir

by Omega8 » 22 Nov 2017 11:18

Hi,

In the demo after the new assignment of CaptchaDIr

CaptchaDir := WebApplication.Request.ScriptName + '/images';

I search for the value of by means of WebApplication.ShowMessage( WebApplication.Request.ScriptName + '/images') all I get is '/images'

When I set CaptchaDir:=IWServerCOntroller.ContentPath+ '/css/FancyCaptcha/imgs'; The component does not find the images.
So what should be value of CaptchaDir.

Thank you
Omega8
 
Posts: 87
Joined: 18 Mar 2016 22:42

by Jorge Sousa » 22 Nov 2017 18:26

Hi

About

I search for the value of by means of WebApplication.ShowMessage( WebApplication.Request.ScriptName + '/images') all I get is '/images'


ScriptName is filled when your are in ISAPI mode

When I set CaptchaDir:=IWServerCOntroller.ContentPath+ '/css/FancyCaptcha/imgs'; The component does not find the images.


Thats because the component always adds internal the /imgs subfolder. use '/css/FancyCaptcha' only, sorry about that, docx should be more clear:

https://www.cgdevtools.com/docs/_html/IWCGJQFancyCaptcha.TIWCGJQFancyCaptchaOptions.CaptchaDir.htm
Best Regards
CGDevTools Develop / Support Team
Home Page: http://www.cgdevtools.com
Jorge Sousa
 
Posts: 4261
Joined: 17 May 2012 09:58


Return to JQFancyCaptcha

Who is online

Users browsing this forum: No registered users and 1 guest

Contact Us.