Google Groups Home
Help | Sign in
Passing a large parameter(s) using AJAX
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  3 messages - Collapse all
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post will appear after it is approved by moderators
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
fatihshen  
View profile
 More options Nov 12 2008, 3:45 pm
From: fatihshen <fatihse...@gmail.com>
Date: Wed, 12 Nov 2008 06:45:57 -0800 (PST)
Local: Wed, Nov 12 2008 3:45 pm
Subject: Passing a large parameter(s) using AJAX
Hi everyone,

I am trying to pass parameters using ajax:

var selectedFacilities =  getIdString('grFacilities_main');
                                        //document.getElementById("hdnFacilities").value =
selectedFacilities;

                                        // Create an instance of the XML HTTP Request object
                                        oXMLHTTP = new ActiveXObject( "Microsoft.XMLHTTP" );

                                        // Prepare the XMLHTTP object for a HTTP POST to our validation
ASP page
                                        var sURL = "ProjectFacilityFilter.aspx?func=" + func
+"&selectedFacilities="+selectedFacilities;
                                        oXMLHTTP.open( "POST", sURL, false );
                                        oXMLHTTP.onreadystatechange = callBackForProjects;

                                        // Execute the request
                                        oXMLHTTP.send();

This works fine, but whenever the selectedFacilities string is too
large, it doesn't work. I would be glad if anyone could help me.

Thanks.

Fatih


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
devesh kumar  
View profile
 More options Nov 13 2008, 11:13 am
From: "devesh kumar" <ur.dev...@gmail.com>
Date: Thu, 13 Nov 2008 15:43:45 +0530
Local: Thurs, Nov 13 2008 11:13 am
Subject: Re: [ajaxpro] Passing a large parameter(s) using AJAX

As i know there is a limitation on lenght that can be send in Querystring
.Please verify this limitation.

Devesh

On 11/12/08, fatihshen <fatihse...@gmail.com> wrote:

--
Devesh kumar

+919342384046


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Michael Schwarz  
View profile
 More options Nov 26 2008, 4:21 pm
From: "Michael Schwarz" <michael.schw...@gmail.com>
Date: Wed, 26 Nov 2008 16:21:39 +0100
Local: Wed, Nov 26 2008 4:21 pm
Subject: Re: [ajaxpro] Re: Passing a large parameter(s) using AJAX
Hi,

yes, using a QueryString you're restricted in length of data. If
you're using AjaxPro you can send any data length as it is using POST
instead.

Regards,
Michael

--
Best regards | Schöne Grüße
Michael

Microsoft MVP - Most Valuable Professional

http://weblogs.asp.net/mschwarz/
http://michael-schwarz.blogspot.com/


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google