473,322 Members | 1,421 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,322 software developers and data experts.

problem in querystring

hi,

according to browser Querystring values are vary, for eg. IE - 2,083
Characters.

In my application I'm transfering data from Javascript to Asp.Net
through Query string.

Eg:
var http = new ActiveXObject("Msxml2.XMLHTTP");
http.open("POST","Server.aspx?tname="+rowno
+"&value="+ths.value,true);
http.send();

here my query string value exits maximum limit. How to solve it in a
better way ?

thank
Murali@Pune

Mar 6 '06 #1
4 922
You could use a field instead of the querystring as you are using the POST
method ?

--
Patrice

"murali.trichy" <mu***********@gmail.com> a écrit dans le message de
news:11**********************@j33g2000cwa.googlegr oups.com...
hi,

according to browser Querystring values are vary, for eg. IE - 2,083
Characters.

In my application I'm transfering data from Javascript to Asp.Net
through Query string.

Eg:
var http = new ActiveXObject("Msxml2.XMLHTTP");
http.open("POST","Server.aspx?tname="+rowno
+"&value="+ths.value,true);
http.send();

here my query string value exits maximum limit. How to solve it in a
better way ?

thank
Murali@Pune

Mar 6 '06 #2
could you explain little bit clearly with example ?

--
murali

Mar 6 '06 #3
I meant that instead of passing this on the querystring you could perhaps
pass this as a form field (or as multiple form fields if appropriate).

Try :
http://support.microsoft.com/default...;EN-US;Q290591

--
Patrice

"murali.trichy" <mu***********@gmail.com> a écrit dans le message de
news:11**********************@u72g2000cwu.googlegr oups.com...
could you explain little bit clearly with example ?

--
murali

Mar 6 '06 #4
thks and i solve by

Client - Javascript
var http = new ActiveXObject("Msxml2.XMLHTTP");
http.open("POST","Server.aspx?tname="+rowno,true);
http.send(ths.value);
Server - Asp.net
Stream ipStream = Page.Request.InputStream;
int length = (int)ipStream.Length;
byte[] buff = new byte[length];
ipStream.Read(buff, 0, length);
string sval = System.Text.Encoding.Default.GetString(buff);

Mar 6 '06 #5

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

Similar topics

2
by: John Savidge | last post by:
Hi All, I had this simple CDONTS form to email code working a few days ago. However it doesn't seem to work now as I am not receiving the emails the form generates. Below is my code, can...
4
by: Eifion | last post by:
I've noticed a strange problem with setting cookies in ASP when the cookie name you're setting exists in the querystring. The company I work for has many partner sites who link to our site like...
2
by: Mikael | last post by:
Hi All! I have a problem here and i can't see what it is... My parameters (value) are shopped off. exampe "Hello world" will end up like "hello" How should i adjust the syntax to get a whole...
3
by: Paul | last post by:
Hi all, at present I I've built a website which can be updated by admin and users. My problem, I've combined "log in" and "access levels" to restrict access to certain pages, using the built...
1
by: lion | last post by:
my Problem: a query string passed into a html page doesn't display correctly on a mac I am just using html and javascript (no ASP, PHP or server side scripting) This is the query string:...
6
by: DAMAR | last post by:
I have got a problem with WMI's Win32_LocalTime: here is the msdn reference: http://msdn.microsoft.com/library/en-us/wmisdk/wmi/win32_localtime.asp I'D like to have a timer which pass me an...
9
by: Miguel Dias Moura | last post by:
Hello, I have this code: 1) <script runat="server"> 2)Sub Page_Load(sender As Object, e As System.EventArgs) 3)Dim keywords() As String = Request.QueryString("search").Split(CChar(""))...
6
by: Ammar | last post by:
Dear All, I'm facing a small problem. I have a portal web site, that contains articles, for each article, the end user can send a comment about the article. The problem is: I the comment length...
14
by: Simon Gare | last post by:
Hi, have a search.asp page with results.asp page drawing data from an SQL db, problem is the user has to type the whole field value into the search box to retrieve the value on results.asp, what...
2
by: zman77 | last post by:
I have a problem with HttpRequest.QueryString. There is an XML string that contains something like the following: <age>8+</age> As you probably guessed, the "+" is the problem :) I want to get...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

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.