Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8538799
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T11:12:27+00:00 2026-06-11T11:12:27+00:00

Is there a limit on URL-Length or on Parameter-Length while doing from $.ajax ?

  • 0

Is there a limit on URL-Length or on Parameter-Length while doing from $.ajax?

below is my code, in which var extract could be length of 5000 characters, and two of them could be 128 chars length.

    $.ajax({
        url:  "addObligationDraft?account.id="+aId+"&extract="+extract+"&groupForId="+groupForId+"&groupFor="+groupFor+"&TAndD="+TAndD+"&fg="+fg+
        "&frequency="+frequency+"&subType="+subType+"&startDate="+startDate+"&completionDate="+completionDate+"&ownerUserId="+ownerUserId+
        "&ownerManagerUserIdValue="+ownerManagerUserIdValue+"&financial="+financial+"&trigger="+trigger+"&actionType="+actionType+"&financialPenalty="+financialPenalty+
        "&approvalRequiredMessage="+approvalRequiredMessage+"&transitionMilestoneMessage="+transitionMilestoneMessage+"&responsibilityListId="+responsibilityListId+
        "&contractName="+contractName+"&phaseListId="+phaseListId+"&referenceSectionMessage="+referenceSectionMessage+"&obId="+obId+
        "&otCrossReference="+otCrossReference+"&otTransition="+otTransition+"&otCustOO="+otCustOO+"&otComments="+otComments,
        dataType: "stream",
        beforeSend: function(){
            showBusy();
        },
        complete: function(xmlHttp){
            hideBusy();
        },      
        error: function(XMLHttpRequest, textStatus, errorThrown) {
            hideBusy();
            showDialogMessage('Obligation not Saved. Please re-try.');
        },
        cache: false,
        success: function(data) {   
            if(data.indexOf('Error') == -1) {
                $("#obDraft").empty();                  
                $("#obDraft").append(data);                                     
                document.getElementById("noObInDraft").style.display = "none";
                resetPage();
                var chk = data.split("javascript:showDraftOb");
                chksize = data;
                if(chk.length == 2)
                    document.getElementById("addObligationAjax").style.display = "block";
                showDialogMessage('Obligation Added Successfully');
            }
            else
            showDialogMessage('Obligation not Saved. Please re-try.');
        }
    });
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T11:12:28+00:00Added an answer on June 11, 2026 at 11:12 am

    It does not matter if queried via Ajax or not, there is a general limitation on URL length. See this question for an explanation.

    Ask yourself if you really need such a long URL or if you can store some information in other ways (e.g. cookies, in a DB…).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Is there a limit to the length of the parameter that be can added
Is there a length limit for the fragment part of an URL (also known
Is there a limit to the length of a url in Rails apps? I
Is there a thread limit EnterCriticalSection() can cope with? The following code works fine
Is there a way to limit the url of saved credentials in browsers? For
$.ajax({ url: notifications.php, dataType: json, success: function(responseJSON) { if (responseJSON.length > 0) { document.title
Is there a size limit when using the headers property of the jQuery.ajax method?
I try to mirror webpages recursively starting from URL supplied by user (there is
Is there a limitation on the length of a URL Scheme for an iOS
Is there a limit as far as NSString is concerned ?? I am using

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.