|
-
Aug 20th, 2004, 05:38 AM
#1
Thread Starter
Junior Member
limited to a maximum of 2,048 characters [END]
If you are using the GET method, you are limited to a maximum of 2,048 characters (minus the number of characters in the actual path, of course).
FROM:
http://support.microsoft.com/default...NoWebContent=1
Can I know is it other methods/ functions that allow me passing more than 2048 characters by GET.
Ps: I want to passing a string of data(more than 2048 characters) by querystring .
Last edited by leos1981; Aug 25th, 2004 at 03:47 AM.
-
Aug 20th, 2004, 05:55 AM
#2
Fanatic Member
its the querystring that is limited to 2048 characters so you cant use the get method. Use the post mehtod instead
-
Aug 20th, 2004, 07:53 AM
#3
Frenzied Member
Echo Dave. Use the post. There is no reason to have all that in the GET method, and you can have over 4000 characters and sometimes more than that in the POST depending on various configurations.
-
Aug 21st, 2004, 02:53 AM
#4
The HTTP specification imposes no limit on the length of the URL a user agent must accept. I heard somewhere that they are only oblidged to use the first 512 characters.
If you want to transfer a large amount of information you should get your users to post it through. There is no client side limit on the amount of data you can post, although proxy servers may impose a limit.
If you want to put large amounts of data in links on your web page I suggest you use an ID which is used server side to retrieve the information you need. This will save on both bandwidth and save your URL's from looking big and ugly. I know that both ASP and PHP have these session managment capabilities.
Cookies are another option - again though, the client often has limits on the number of cookies stored by each host and the amount of data stored in each one. I heard somewhere that it may be as little as 300 bytes per cookie.
-
Aug 22nd, 2004, 08:37 AM
#5
Thread Starter
Junior Member
It is really no way to use GET to pass the data? Actually, I want to pass the data to SAP Bisness Connect, they only provide me a url with querystring (eg: www.abc.com?xml=mydata) to pass my data to them. and my data may be very large, that is y i have to extend the GET characters limit. I am very supprise they (SAP BC) can passing me (large amount of data) by querystring.
-
Aug 23rd, 2004, 07:18 AM
#6
Frenzied Member
Ask them to provide you with better means. Why can't you just send them a file with the information? And how much are you trying to send?
-
Aug 23rd, 2004, 11:27 PM
#7
Thread Starter
Junior Member
Maybe They can make the change, but coz it affected a lot of area and the project oledi finished the user testing and now prepare to rollout. So, if hav choise, I hope can minimize the change.
-
Aug 24th, 2004, 04:38 AM
#8
Fanatic Member
they will have to chnage becuase you cannot extend the get char limit.
-
Aug 25th, 2004, 03:54 AM
#9
Thread Starter
Junior Member
Thank a lot to everyone. I will try to change the other method to receive the data in order to avoid the character limited problem occured.
Below are 2 posible solution/suggestion from online friends.
- On SAP there is obivously a HTTP process running in order for you to send the GET request - firstly, if SAP is running this process then there is no reason why it cannot read a POST request as well. Secondly, rather than using HTTP why not communicate to the server using a custom port and transfer your data that way?
- One thing I do know is that SAP can read text files. Why not place all the data you want to transfer within a text file that is accessible from both the IIS and SAP servers. Then send a GET request to the SAP server including the filename / location of the text file and its data.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|