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

  • Home
  • SEARCH
  • 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 885495
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T12:55:16+00:00 2026-05-15T12:55:16+00:00

I need to pass huge amount of data to server without page loading. I

  • 0

I need to pass huge amount of data to server without page loading. I have this code:

var GlType = "<%=GlType %>";
var pageUrl = "SelectAccount.aspx?callback=true&AccountList=" +accountList +"&AnalysisDate="+analysisDate+"&GlType="+GlType;
if (window.XMLHttpRequest)
 {
      var xmlRequest = new XMLHttpRequest();
 }
else
 {
      var xmlRequest = new ActiveXObject("Microsoft.XMLHTTP");
 }
xmlRequest.open("POST", pageUrl, true);
xmlRequest.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded'); 
xmlRequest.send(null);

I am have passed using query string its exceeded the maximum Length of query string. Help me on this..

  • 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-05-15T12:55:17+00:00Added an answer on May 15, 2026 at 12:55 pm

    Since you’re already using the POST method, you can pass data in the body.

    xmlRequest.send("Field1=abc&Field2=def");
    

    You can retrieve the data on the server, e.g. in ASP.NET:

    if (Page.Request.Form["Field1"] == "abc") ...
    

    For GET method you can only use the query string for transferring data.

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

Sidebar

Related Questions

I have a user control in a repeater that I need to pass data
I'm using MongoKit to perform iteration over a huge amount of data. During this
Hi I am working with google maps API I have this huge code, so
I need pass data (in this case just a single id) to a custom
I need to pass an array from JavaScript to a page method in C#.
I have a java application I need to pass some info to a C++
I have a .NET program and a Borland Win32 program that need to pass
I have a dict, which I need to pass key/values as keyword arguments.. For
I have huge 3D arrays of numbers in my .NET application. I need to
I need to pass username and password which is at the server to my

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.