473,395 Members | 1,535 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

problem with internet explorers limit on length of query string

Hi,

I was using a get request method to call a page in a different web project.
Bu my query string becomes more than 2083 characters anything more than 2083
characters is stripped off. I can use the POST method to do the same. But
the problem is that in Asp.net the form posts to itself, so if i want to
post an action to a different page then i have to do Request.Redirect("to
some page in different web project"). If i do this then it again becomes a
GET.

Is there a solution to this problem. I would more than appreciate if some
one can help me out.

Thanks
Rahul Aggarwal
Nov 18 '05 #1
6 3428
i once had a similiar problem and i suggest either reduce the length of the
parameter names used in the querystring or store the information within the
database

"Rahul Aggarwal" <ag***********@myfloridahouse.com> wrote in message
news:Or****************@TK2MSFTNGP11.phx.gbl...
Hi,

I was using a get request method to call a page in a different web project. Bu my query string becomes more than 2083 characters anything more than 2083 characters is stripped off. I can use the POST method to do the same. But
the problem is that in Asp.net the form posts to itself, so if i want to
post an action to a different page then i have to do Request.Redirect("to
some page in different web project"). If i do this then it again becomes a
GET.

Is there a solution to this problem. I would more than appreciate if some
one can help me out.

Thanks
Rahul Aggarwal

Nov 18 '05 #2
i once had a similiar problem and i suggest either reduce the length of the
parameter names used in the querystring or store the information within the
database

"Rahul Aggarwal" <ag***********@myfloridahouse.com> wrote in message
news:Or****************@TK2MSFTNGP11.phx.gbl...
Hi,

I was using a get request method to call a page in a different web project. Bu my query string becomes more than 2083 characters anything more than 2083 characters is stripped off. I can use the POST method to do the same. But
the problem is that in Asp.net the form posts to itself, so if i want to
post an action to a different page then i have to do Request.Redirect("to
some page in different web project"). If i do this then it again becomes a
GET.

Is there a solution to this problem. I would more than appreciate if some
one can help me out.

Thanks
Rahul Aggarwal

Nov 18 '05 #3
You COULD use HttpContext object

1. You POST to the "wrong" for
2. You pickup the incoming value that is too big for the regular QueryStrin
3. Do this
'having trapped that the value exists in Page_Load..
Me.Context.Items("myQryStr") = thebigvalueyouwan
Server.Transfer("myOtherPage.aspx"

'in the new pag
Dim myBigString As String = Me.Context.Items("myQryString"

This avoids the additional round trip caused by Response.Redirec

C# would be similar I expect..

al*****@yahoo.com
Nov 18 '05 #4
You COULD use HttpContext object

1. You POST to the "wrong" for
2. You pickup the incoming value that is too big for the regular QueryStrin
3. Do this
'having trapped that the value exists in Page_Load..
Me.Context.Items("myQryStr") = thebigvalueyouwan
Server.Transfer("myOtherPage.aspx"

'in the new pag
Dim myBigString As String = Me.Context.Items("myQryString"

This avoids the additional round trip caused by Response.Redirec

C# would be similar I expect..

al*****@yahoo.com
Nov 18 '05 #5
Rahul,
How about the Server.Transfer instead of Response.redirect.
Does this work for you ? As it does not have to goto browser it might take
of your issue.

Hope this help :).

-good luck
programmer
"Rahul Aggarwal" <ag***********@myfloridahouse.com> wrote in message
news:Or****************@TK2MSFTNGP11.phx.gbl...
Hi,

I was using a get request method to call a page in a different web project. Bu my query string becomes more than 2083 characters anything more than 2083 characters is stripped off. I can use the POST method to do the same. But
the problem is that in Asp.net the form posts to itself, so if i want to
post an action to a different page then i have to do Request.Redirect("to
some page in different web project"). If i do this then it again becomes a
GET.

Is there a solution to this problem. I would more than appreciate if some
one can help me out.

Thanks
Rahul Aggarwal

Nov 18 '05 #6
Rahul,
How about the Server.Transfer instead of Response.redirect.
Does this work for you ? As it does not have to goto browser it might take
of your issue.

Hope this help :).

-good luck
programmer
"Rahul Aggarwal" <ag***********@myfloridahouse.com> wrote in message
news:Or****************@TK2MSFTNGP11.phx.gbl...
Hi,

I was using a get request method to call a page in a different web project. Bu my query string becomes more than 2083 characters anything more than 2083 characters is stripped off. I can use the POST method to do the same. But
the problem is that in Asp.net the form posts to itself, so if i want to
post an action to a different page then i have to do Request.Redirect("to
some page in different web project"). If i do this then it again becomes a
GET.

Is there a solution to this problem. I would more than appreciate if some
one can help me out.

Thanks
Rahul Aggarwal

Nov 18 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Jody Gelowitz | last post by:
Exactly what is the size limit of Isolated Storage in the Internet permission set? I have a document indicating it is 10MB (http://msdn.microsoft.com/msdnmag/issues/02/07/NetSmartClients/) ...
2
by: Tim Simmons | last post by:
I am stumped. I encoded the action = of my form using GET and I can't seem to get the property/value stuff from it using a JavaScript script I got from the web. I want to create a trivia game...
2
by: SJM | last post by:
In some VBA code I am building an SQL string to append a new record to a table. The string involves 40 fields. What I am finding is that it works with 39 fields but when I add 40 it fails with the...
7
by: SharpCoderMP | last post by:
hi, i have a problem: i wrote a class that encapsulates communication with database. i wont go into details, but i wanted to use threads to avoid unresponsive ui so i did something more or less...
3
by: Rahul Aggarwal | last post by:
Hi, I was using a get request method to call a page in a different web project. Bu my query string becomes more than 2083 characters anything more than 2083 characters is stripped off. I can use...
5
by: Daniel | last post by:
c# string size limit? length of string limit?
4
by: nishi57 | last post by:
I hope I can get some help regarding this issue, which has been going on for a while. I have a desktop user who is having problem running "Stored Procedures". The DB2 Connect application works fine...
25
by: bweaverusenet | last post by:
Hi. I am trying to get some javascript to work in IE6, from the address line. It works in Firefox and, I believe, IE7. It appears that with some number of nested structures, the code does not...
2
by: shivendravikramsingh | last post by:
hi friends, i m using a ajax function for retrieving some values from a database table,and display the values in required field,my prob is that the ajax function i m using is working f9 once,but if...
4
by: fbrewster | last post by:
I'm writing an HTML parser and would like to use Internet Explorers DOM parser. Can I use Internet Explorers DOM parser through a web service? thanks for the help
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.