Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.


Welcome, Guest
Guest Settings
Help

Thread: Callback Problem Length of url


This question is not answered. Helpful answers available: 2. Correct answers available: 1.


Permlink Replies: 10 - Last Post: Mar 7, 2018 1:18 PM Last Post By: Kelen Vaws
aaaa aaaa

Posts: 4
Registered: 4/15/13
Callback Problem Length of url  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Feb 5, 2018 10:25 AM
Hi at all,
i have custom callback "AggiornaValore" and a bootstrap table on screen with 400 record editable( only the field mail).
(i wrap it with the iwbootstrap framework)

To send the data modify in the client i send json to server with custom callback("AggiornaValore"). (The length of json string is more than 64000 caracters).

I use the function SendPostRequest(eventParams, aSender, aCallback) to perform post callback in this way : SendPostRequest("&JSON="+contenuto,null,"AggiornaValore") in onclick event of button (ScripsEvents)
(JSON.stringify($("#MYTABLE").bootstraptable("getdata"),null))
(with registercallback in formcreate).
contenuto contains the json record of all table.

In SA no problem but in isapi i have the error :"url is too long". I have modified the request limit params to max value in iis but no result.

It is correct to perform post request like above?
Thanks you
Pete d'Oronzio

Posts: 25
Registered: 10/31/00
Re: Callback Problem Length of url  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Feb 5, 2018 2:06 PM   in response to: aaaa aaaa in response to: aaaa aaaa
Dear aaaa aaaa - is that Italian? ;-)

I had a similar problem with posting large amounts of data to my IIS /
ISAPI app. I believe that the right answer involves starting the
transfer and then sending chunks of data until done.

But I didn't do that. I set the following IIS properties and haven't
had the problem since:

MaxAllowedContentLength
uploadReadAheadSize
maxRequestEntityAllowed

Pete


In SA no problem but in isapi i have the error :"url is too long". I
have modified the request limit params to max value in iis but no
result.

It is correct to perform post request like above?
Thanks you
aaaa aaaa

Posts: 4
Registered: 4/15/13
Re: Callback Problem Length of url  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Feb 6, 2018 12:48 PM   in response to: Pete d'Oronzio in response to: Pete d'Oronzio
Thanks you. I use hidden input to capture the json of the bootstrap table and use callback to copy the value without passing the content of json

in the button save i use executeajaxevent with params to call the callback

and in the callback function in delphi i use webapplication.callbackresponse.addjavascripttoexecute(js)
where js is a javascript function that add the hidden input and assign the value of the json table.

Thanks.

Pete d'Oronzio wrote:
Dear aaaa aaaa - is that Italian? ;-)

I had a similar problem with posting large amounts of data to my IIS /
ISAPI app. I believe that the right answer involves starting the
transfer and then sending chunks of data until done.

But I didn't do that. I set the following IIS properties and haven't
had the problem since:

MaxAllowedContentLength
uploadReadAheadSize
maxRequestEntityAllowed

Pete


In SA no problem but in isapi i have the error :"url is too long". I
have modified the request limit params to max value in iis but no
result.

It is correct to perform post request like above?
Thanks you
Alexandre Machado

Posts: 1,754
Registered: 8/10/13
Re: Callback Problem Length of url  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Feb 19, 2018 1:53 AM   in response to: aaaa aaaa in response to: aaaa aaaa
aaaa aaaa wrote:
Thanks you. I use hidden input to capture the json of the bootstrap table and use callback to copy the value without passing the content of json

in the button save i use executeajaxevent with params to call the callback

and in the callback function in delphi i use webapplication.callbackresponse.addjavascripttoexecute(js)
where js is a javascript function that add the hidden input and assign the value of the json table.

Thanks.

Pete d'Oronzio wrote:
Dear aaaa aaaa - is that Italian? ;-)

I had a similar problem with posting large amounts of data to my IIS /
ISAPI app. I believe that the right answer involves starting the
transfer and then sending chunks of data until done.

But I didn't do that. I set the following IIS properties and haven't
had the problem since:

MaxAllowedContentLength
uploadReadAheadSize
maxRequestEntityAllowed

Pete


In SA no problem but in isapi i have the error :"url is too long". I
have modified the request limit params to max value in iis but no
result.

It is correct to perform post request like above?
Thanks you

Are you sure that the browser is actually sending a POST request? Can you check using Developer tools if the request is correct?
aaaa aaaa

Posts: 4
Registered: 4/15/13
Re: Callback Problem Length of url  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Feb 25, 2018 1:08 PM   in response to: Alexandre Machado in response to: Alexandre Machado
Hi, yes the browser send a post request. I verify the post request and it is correct.
For my the problem it isn't connect to intraweb. If you have a table with many editable record passing all the content with a post like above don't work is isapi mode (limit for example of iis server on (request limit)).
I think use hidden field is more clean so there is no need to pass json param directly to callback.
In your opinion is good to use hidden field in this case?
Best Regards,
Andrea.

Alexandre Machado wrote:
aaaa aaaa wrote:
Thanks you. I use hidden input to capture the json of the bootstrap table and use callback to copy the value without passing the content of json

in the button save i use executeajaxevent with params to call the callback

and in the callback function in delphi i use webapplication.callbackresponse.addjavascripttoexecute(js)
where js is a javascript function that add the hidden input and assign the value of the json table.

Thanks.

Pete d'Oronzio wrote:
Dear aaaa aaaa - is that Italian? ;-)

I had a similar problem with posting large amounts of data to my IIS /
ISAPI app. I believe that the right answer involves starting the
transfer and then sending chunks of data until done.

But I didn't do that. I set the following IIS properties and haven't
had the problem since:

MaxAllowedContentLength
uploadReadAheadSize
maxRequestEntityAllowed

Pete


In SA no problem but in isapi i have the error :"url is too long". I
have modified the request limit params to max value in iis but no
result.

It is correct to perform post request like above?
Thanks you

Are you sure that the browser is actually sending a POST request? Can you check using Developer tools if the request is correct?
Chad Hower

Posts: 613
Registered: 3/2/07
Re: Callback Problem Length of url  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Feb 26, 2018 10:16 AM   in response to: aaaa aaaa in response to: aaaa aaaa
On 2/25/2018 5:08 PM, aaaa aaaa wrote:
Hi, yes the browser send a post request. I verify the post request and it is correct.
For my the problem it isn't connect to intraweb. If you have a table with many editable record passing all the content with a post like above don't work is isapi mode (limit for example of iis server on (request limit)).
I think use hidden field is more clean so there is no need to pass json param directly to callback.
In your opinion is good to use hidden field in this case?

Yes. Hidden fields allow more data, and you can use multiple if you
really need.
Alexandre Machado

Posts: 1,754
Registered: 8/10/13
Re: Callback Problem Length of url  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Feb 27, 2018 11:15 PM   in response to: aaaa aaaa in response to: aaaa aaaa
Please check the page below. It contains several configurations that you can apply to your IIS server in order to increase/change limits associated with HTTP requests:

https://docs.microsoft.com/en-us/iis/configuration/system.webserver/security/requestfiltering/requestlimits/

If you are using ISAPI and posting a huge request, it is very likely that one or more of those limits are being reached.
aaaa aaaa

Posts: 4
Registered: 4/15/13
Re: Callback Problem Length of url  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Mar 2, 2018 11:30 AM   in response to: Alexandre Machado in response to: Alexandre Machado
Thanks.
This forum is very helpful. I have another question if possible.
In standard intraweb table IWTABLE how is implement the possibility to edit a field on screen table?
When i assign a value with mytable.cell[0,i] = x or i edit the input value on screen the component send a post request to server with callback?
Do you use json or xml?
Maybe this information can help me to write a custom component that handle all the functionality of bootstrap table.
I think that this can help more people that had this problem.
Best regards
Andrea.

Alexandre Machado wrote:
Please check the page below. It contains several configurations that you can apply to your IIS server in order to increase/change limits associated with HTTP requests:

https://docs.microsoft.com/en-us/iis/configuration/system.webserver/security/requestfiltering/requestlimits/

If you are using ISAPI and posting a huge request, it is very likely that one or more of those limits are being reached.

Edited by: aaaa aaaa on Mar 2, 2018 11:34 AM
Kelen Vaws

Posts: 3
Registered: 4/7/18
Re: Callback Problem Length of url  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Mar 7, 2018 1:16 PM   in response to: aaaa aaaa in response to: aaaa aaaa
aaaa aaaa wrote:
Hi, yes the browser send a post request. I verify the post request and it is correct.
For my the problem it isn't connect to intraweb. If you have a table with many editable record passing all the content with a post like above don't work is isapi mode (limit for example of iis server on (request limit)).
I think use hidden field is more clean so there is no need to pass json param directly to callback.
In your opinion is good to use hidden field in this case?
Best Regards,
Andrea.

Alexandre Machado wrote:
aaaa aaaa wrote:
Thanks you. I use hidden input to capture the json of the bootstrap table and use callback to copy the value without passing the content of json

in the button save i use executeajaxevent with params to call the callback

and in the callback function in delphi i use webapplication.callbackresponse.addjavascripttoexecute(js)
where js is a javascript function that add the hidden input and assign the value of the json table.

Thanks.

Pete d'Oronzio wrote:
Dear aaaa aaaa - is that Italian? ;-)

I had a similar problem with posting large amounts of data to my IIS /
ISAPI app. I believe that the right answer involves starting the
transfer and then sending chunks of data until done.

But I didn't do that. I set the following IIS properties and haven't
had the problem since:

MaxAllowedContentLength
uploadReadAheadSize
maxRequestEntityAllowed

Pete


In SA no problem but in isapi i have the error :"url is too long". I
have modified the request limit params to max value in iis but no
result.

It is correct to perform post request like above?
Thanks you

Are you sure that the browser is actually sending a POST request? Can you check using Developer tools if the request is correct?

Edited by: Kelen Vaws on Mar 7, 2018 1:18 PM
Kelen Vaws

Posts: 3
Registered: 4/7/18
Re: Callback Problem Length of url  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Mar 7, 2018 1:17 PM   in response to: aaaa aaaa in response to: aaaa aaaa
aaaa aaaa wrote:
Hi, yes the browser send a post request. I verify the post request and it is correct.
For my the problem it isn't connect to intraweb. If you have a table with many editable record passing all the content with a post like above don't work is isapi mode (limit for example of iis server on (request limit)).
I think use hidden field is more clean so there is no need to pass json param directly to callback.
In your opinion is good to use hidden field in this case?
Best Regards,
Andrea.

Alexandre Machado wrote:
aaaa aaaa wrote:
Thanks you. I use hidden input to capture the json of the bootstrap table and use callback to copy the value without passing the content of json

in the button save i use executeajaxevent with params to call the callback

and in the callback function in delphi i use webapplication.callbackresponse.addjavascripttoexecute(js)
where js is a javascript function that add the hidden input and assign the value of the json table.

Thanks.

Pete d'Oronzio wrote:
Dear aaaa aaaa - is that Italian? ;-)

I had a similar problem with posting large amounts of data to my IIS /
ISAPI app. I believe that the right answer involves starting the
transfer and then sending chunks of data until done.

But I didn't do that. I set the following IIS properties and haven't
had the problem since:

MaxAllowedContentLength
uploadReadAheadSize
maxRequestEntityAllowed

Pete


In SA no problem but in isapi i have the error :"url is too long". I
have modified the request limit params to max value in iis but no
result.

It is correct to perform post request like above?
Thanks you

Are you sure that the browser is actually sending a POST request? Can you check using Developer tools if the request is correct?

Right Found Same https://uktvnowapkdownload.com/
Kelen Vaws

Posts: 3
Registered: 4/7/18
Re: Callback Problem Length of url  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Mar 7, 2018 1:17 PM   in response to: aaaa aaaa in response to: aaaa aaaa
aaaa aaaa wrote:
Hi, yes the browser send a post request. I verify the post request and it is correct.
For my the problem it isn't connect to intraweb. If you have a table with many editable record passing all the content with a post like above don't work is isapi mode (limit for example of iis server on (request limit)).
I think use hidden field is more clean so there is no need to pass json param directly to callback.
In your opinion is good to use hidden field in this case?
Best Regards,
Andrea.

Alexandre Machado wrote:
aaaa aaaa wrote:
Thanks you. I use hidden input to capture the json of the bootstrap table and use callback to copy the value without passing the content of json

in the button save i use executeajaxevent with params to call the callback

and in the callback function in delphi i use webapplication.callbackresponse.addjavascripttoexecute(js)
where js is a javascript function that add the hidden input and assign the value of the json table.

Thanks.

Pete d'Oronzio wrote:
Dear aaaa aaaa - is that Italian? ;-)

I had a similar problem with posting large amounts of data to my IIS /
ISAPI app. I believe that the right answer involves starting the
transfer and then sending chunks of data until done.

But I didn't do that. I set the following IIS properties and haven't
had the problem since:

MaxAllowedContentLength
uploadReadAheadSize
maxRequestEntityAllowed

Pete


In SA no problem but in isapi i have the error :"url is too long". I
have modified the request limit params to max value in iis but no
result.

It is correct to perform post request like above?
Thanks you

Are you sure that the browser is actually sending a POST request? Can you check using Developer tools if the request is correct?

Right Found Same
Legend
Helpful Answer (5 pts)
Correct Answer (10 pts)

Server Response from: ETNAJIVE02