CGDevTools Forum

Welcome to the Official CGDevTools Support Community Forums.

Problems with signature in MS Azure IIS

by Soren SDF » 13 Dec 2018 10:35

Hi.
We have now started to deploy our application in the cloud via Microsoft Azure and the signature is causing us problems.
In the forms OnCreate handler we have the following:

var
JS: string;
bparam: TIWCGBrowserParam;
begin
LDataType:= TIWCGJQSignatureDataType(SigDataTypeNumber);
JS:=Signaturen.JQSignatureOptions.jsGetData(LDataType, False);
BtnSignera.JQMButtonOptions.Events.OnVClick.BrowserParams.Clear;
bparam:=BtnSignera.JQMButtonOptions.Events.OnVClick.BrowserParams.Add;
bparam.ServerName:= 'sigdata';
bparam.BrowserScript:= JS;
end;

In our stand alone environments it works as expected but the cloud seems to impose a limitation to the size of the "sigdata" param for the request. According to our cloud guy the signature is causing the URL to exceed the size limitation and breaks the functionality.
Is there a way around this?

T.I.A.
Sören Alexandersson
Soren SDF
 
Posts: 87
Joined: 19 Apr 2013 15:56

by Alexander Bulei » 13 Dec 2018 11:42

Hi Sören Alexandersson,

Why you need the sign data? If you don't need that data, just use the available events, like:

- OnSaveToStream
- OnFileSaved

To on work IIS, you need increase the MaxQueryLength option.

Best Regards.
Group: Developers | Support Team

  • info [at] cgdevtools.com - General information
  • sales [at] cgdevtools.com - Sales department
  • support [at] cgdevtools.com - Product and Technical Support
User avatar
Alexander Bulei
Site Admin
 
Posts: 3635
Joined: 15 May 2012 08:52
Location: Mealhada, Portugal


Return to JQMSignature

cron

Who is online

Users browsing this forum: No registered users and 1 guest

Contact Us.