We have a page which, after inserting a record ID to our database via stored
proceedure, redirects the user to a URL on a thrid party site which as
passed to that page via QueryString. In other words this is an intermediate
counting page between the user's click and their arrival at their selected
URL.
This seems to be working just fine - except when long URLs are passed to the
page. In that case we're getting "file not found" errors on the thrid party
sites and which make it appear that the URL is being cut off somewhere in
the process. I've checked the source in the browser on our end and the <a
href> tag that the user clicks on is being created correctly.
Is there a limit to the length of QueryString or the URL passed to Redirect?
By long URLs I mean roughly 100 to 150 characters. I had understood that
QueryString would handle at least a couple of thousand.
Any ideas on how to make this work?
Thanks in advance! 4 1664
Thus wrote EDOnLine, We have a page which, after inserting a record ID to our database via stored proceedure, redirects the user to a URL on a thrid party site which as passed to that page via QueryString. In other words this is an intermediate counting page between the user's click and their arrival at their selected URL.
This seems to be working just fine - except when long URLs are passed to the page. In that case we're getting "file not found" errors on the thrid party sites and which make it appear that the URL is being cut off somewhere in the process. I've checked the source in the browser on our end and the <a
href>> tag that the user clicks on is being created correctly.
href>> Is there a limit to the length of QueryString or the URL passed to Redirect?
By long URLs I mean roughly 100 to 150 characters. I had understood that QueryString would handle at least a couple of thousand.
There's no standardized maximum URL legth, but assume 2 kB for all practical
purposes. I guess you'll have to check the URLs logged on the third party's
site to find out whether they're being truncated.
Cheers,
--
Joerg Jooss ne********@joer gjooss.de
What is the best method for doing this?
Thanks
"EDOnLine" <ed*******@yaho oX.com> wrote in message
news:%2******** ********@TK2MSF TNGP12.phx.gbl. .. We have a page which, after inserting a record ID to our database via stored proceedure, redirects the user to a URL on a thrid party site which as passed to that page via QueryString. In other words this is an intermediate counting page between the user's click and their arrival at their selected URL.
This seems to be working just fine - except when long URLs are passed to the page. In that case we're getting "file not found" errors on the thrid party sites and which make it appear that the URL is being cut off somewhere in the process. I've checked the source in the browser on our end and the <a href> tag that the user clicks on is being created correctly.
Is there a limit to the length of QueryString or the URL passed to Redirect?
By long URLs I mean roughly 100 to 150 characters. I had understood that QueryString would handle at least a couple of thousand.
Any ideas on how to make this work?
Thanks in advance!
On Mon, 27 Mar 2006 14:12:40 -0600, EDOnLine wrote: We have a page which, after inserting a record ID to our database via stored proceedure, redirects the user to a URL on a thrid party site which as passed to that page via QueryString. In other words this is an intermediate counting page between the user's click and their arrival at their selected URL.
This seems to be working just fine - except when long URLs are passed to the page. In that case we're getting "file not found" errors on the thrid party sites and which make it appear that the URL is being cut off somewhere in the process. I've checked the source in the browser on our end and the <a href> tag that the user clicks on is being created correctly.
Is there a limit to the length of QueryString or the URL passed to Redirect?
By long URLs I mean roughly 100 to 150 characters. I had understood that QueryString would handle at least a couple of thousand.
Any ideas on how to make this work?
Thanks in advance!
This is a guess, as the limit on the QueryString is around 3K.
However, if the site you are accessing is using this long url to generate
a file name, I filename may have a different limit.
Never mind. I had forgot to use Server.UrlEncod e to build my link.
Working great now.
"EDOnLine" <ed*******@yaho oX.com> wrote in message
news:%2******** ********@TK2MSF TNGP12.phx.gbl. .. We have a page which, after inserting a record ID to our database via stored proceedure, redirects the user to a URL on a thrid party site which as passed to that page via QueryString. In other words this is an intermediate counting page between the user's click and their arrival at their selected URL.
This seems to be working just fine - except when long URLs are passed to the page. In that case we're getting "file not found" errors on the thrid party sites and which make it appear that the URL is being cut off somewhere in the process. I've checked the source in the browser on our end and the <a href> tag that the user clicks on is being created correctly.
Is there a limit to the length of QueryString or the URL passed to Redirect?
By long URLs I mean roughly 100 to 150 characters. I had understood that QueryString would handle at least a couple of thousand.
Any ideas on how to make this work?
Thanks in advance! This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: T Conti |
last post by:
Howdy:
I have converted a huge ASP page over to .Net (C#). The old page has
been will be removed from our site, but I need to have a dummy page
there that will redirect the user to the new site for backwards
compatability. I originally used a Response.redirect but we found
that users with high security settings get security pop-ups. We
really don't want this. Here is the really basic page that I wrote to
redirect the user to the new...
|
by: Anne |
last post by:
hie there, i want to be able to pass multiple parameters
to another page. currently, i am able to do so, but
somehow i feel it is not the correct way to do it. below
is part of what i have so far.
'first page
Private Sub btnOK_ServerClick(ByVal sender As
System.Object, ByVal e As System.EventArgs) Handles
btnOK.Click
Response.Redirect("InputValues.aspx?Requestor=" &
|
by: Peter Row |
last post by:
Hi,
I am writing a DLL in VB.NET that implements IHttpHandler.ProcessRequest.
This code calls a sub and I need to know if that sub did a response redirect
or not.
Specifically I need to know that either the sub did a redirect or a specific
value
was specified in the URL. If neither a redirect was done and a certain value
was
|
by: Keith Patrick |
last post by:
I have to do some programmatic redirects (in several pages) based on URLs I
am given from an external source. The URLs have querystrings at the end,
but one in particular is about 240 chars long, so I need to programmatically
redirect to it. Unfortunately, I can't find a way to do it. There is no
Response.Form or Response.Attributes (Request has Form and Params, but they
are read-only). I've tried using AppendHeader to pass my K/V pairs...
|
by: Laura K |
last post by:
I know this is basic but I just can not get my head around it.
I would like to take a querystring and from that querystring redirect the
user to a specific page. I set up a simple test and I am doing something
wrong. Kinda a newbie here so here it goes.
I have tested the querystring by passing it to a label to make sure it is
correct and the querystring that I have been testing this with is 7jackets.
The redirect takes me to the...
| |
by: Nirmal Singh |
last post by:
I am a newbie trying to learn ASP.net 2.0.
I want to retrieve the QueryString and process it to produce some
parameters.
I then want to redirect the user to another page, passing these parameters,
but not as a querystring.
Any help would be gratefully received.
|
by: gigi |
last post by:
How to send more than one value using response redirect?
For example i can send one like this
response.Redirect "pregled.asp?ime=" & strUserName
but how to send two or more values?
I tried
response.Redirect("pregled.asp?ime=" & strUserName & " & prezime = " &
strUserLastName)
but it didn't work.
|
by: mister-Ed |
last post by:
I need to look into a database table (cats) to see if a certain
category and its resulting resultset should be shown to users if it is
deemed "universal" , or the column 'ur' is tagged with the indicator
'univ' ( this is just a character datatype, but later will be changed
to a boolean true or false "bit" datatype because right now i'm just
working with one sole region) . But when i run the following sub and
subsequent block to check for...
|
by: karenkksh |
last post by:
Hi,
public partial class Staff_LeaveNew : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
}
protected void DropDownList1_SelectedIndexChanged(object sender, EventArgs e)
|
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
| |
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |