473,785 Members | 2,424 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

ASP: Truncated URL

I have a page that creates dynamic hyperlinks for each recorded
displayed. Many of the constructed URLs exceed 128 characters. Those
that with greater than 128 are truncated for some reason unknown to
me. I know that IE supports URLs up to 2048 characters. Is there a way
for me to create and use longer URLs in my ASP dynamic links?

Example:
This code:
response.write "<a href=""somepage .asp?
a=1234567890&b= 1234567890&c=12 34567890&d=1234 567890&e=123456 7890&f=12345678 90&g=1234567890 &h=1234567890&i =1234567890&j=1 234567890&k=123 4567890&l=12345 67890&m=1234567 890"">asdf</
a>"

Creates a url that appears like this:

http://localhost/pages/somepage.asp?...&g=1234567890&

Feb 10 '07 #1
1 1518
If this is about classic ASP (looks like it is) you want the asp newsgroup:

http://msdn.microsoft.com/newsgroups...&lang=en&cr=US

Peter
--
Site: http://www.eggheadcafe.com
UnBlog: http://petesbloggerama.blogspot.com
Short urls & more: http://ittyurl.net


"wa********@gma il.com" wrote:
I have a page that creates dynamic hyperlinks for each recorded
displayed. Many of the constructed URLs exceed 128 characters. Those
that with greater than 128 are truncated for some reason unknown to
me. I know that IE supports URLs up to 2048 characters. Is there a way
for me to create and use longer URLs in my ASP dynamic links?

Example:
This code:
response.write "<a href=""somepage .asp?
a=1234567890&b= 1234567890&c=12 34567890&d=1234 567890&e=123456 7890&f=12345678 90&g=1234567890 &h=1234567890&i =1234567890&j=1 234567890&k=123 4567890&l=12345 67890&m=1234567 890"">asdf</
a>"

Creates a url that appears like this:

http://localhost/pages/somepage.asp?...&g=1234567890&

Feb 11 '07 #2

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

Similar topics

0
1259
by: David Bray | last post by:
Has anyone encountered (and solved!) this problem? I have an Access database on a commercial ISP. There is an ASP page/script which creates a recordset from the database and then writes a file which can be downloaded via the standard HTML Anchor element. This has been working with no problems for months but now we sometimes see files which are truncated, ie as if not all records in the recordset were output.
2
3736
by: | last post by:
Hi everyone, I'm using VS.NET, Framework 1.1, Windows 2000 Server, IIS 5, all the latest patches are installed. Im having this wierd random problem, that I cannot reproduce but it happens quite often: - my Request.Form collection is truncated in some posts (again I dont know why or how to reproduce it).
6
3350
by: ~Maheshkumar.R | last post by:
The error i'm getting is as: > Server Error in '/' Application. > -------------------------------------------------------------------------- -- > String or binary data would be truncated. The statement has been > terminated. > Description: An unhandled exception occurred during the execution of the > current web request. Please review the stack trace for more information
4
2240
by: Jack | last post by:
THE FOLLOWING IS A PART OF CODE FROM A ASP PAGE <% sql01 = "SELECT COUNT(*) AS reccount FROM Equipmenttbl " sql01 = sql01 & "WHERE Equipmenttbl.GrantID = " & GrantID 'Response.Write sql01 & "<br>" 'Response.End i = 0
12
2233
by: Jack | last post by:
Since, I have not got some desired advise, I am reposting this for some asnwer/valuable suggestion. Thanks. THE FOLLOWING IS A PART OF CODE FROM A ASP PAGE <% sql01 = "SELECT COUNT(*) AS reccount FROM Equipmenttbl " sql01 = sql01 & "WHERE Equipmenttbl.GrantID = " & GrantID
0
2375
by: hui | last post by:
I am trying to use an SQL Server 2000 to log the events, and have found somehow the contents in the details column get truncated. Details as following: The query I am using to retrieve details: select datalength(details), details from dbo.aspnet_WebEvent_Events A sample output row (slightly realigned for easy reading): 1842 Event code: 4003 Event message: URL authorization succeeded for the
1
1888
by: visu | last post by:
Hi my scenario is i ve upgraded my asp application to windows 2003 +IIS 6.0 + virtual SMTP server enabled environment from win 2000. so i need to update the mail procedure too.(becox i used CDONTs previously which is not supported in win 2003 by default).i have coded my mail sending script using CDO. The problem i am now facing is the mail message which is generated by my application is get truncated at the receiving end..
3
3124
by: =?Utf-8?B?TGVvNTk1?= | last post by:
I have a page that creates dynamic hyperlinks for each recorded displayed. Many of the constructed URLs exceed 128 characters. Those that with greater than 128 are truncated for some reason unknown to me. I know that IE supports URLs up to 2048 characters. Is there a way for me to create and use longer URLs in my ASP dynamic links? Example: This code: response.write "<a href=""somepage.asp?...
3
2122
by: =?Utf-8?B?Yml0YnVja2V0?= | last post by:
hi: i have an asp.net 1.1 app. when i visit the site with my normal browser (ie7 on xp), i get 'default' info in the request.browser object (Type = Unknown, Name = Unknown, Version = 0.0, etc.). when i visit with firefox or safari, the results come back as expected. i've also used 'fiddler' to set my user agent string to ie7 and 8 and, here also, success. as far as i can guess, it seems that my user agent string gets 'choked' upon...
0
9485
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10356
Oralloy
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...
1
10098
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,...
1
7506
isladogs
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...
0
6743
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5523
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4058
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
2
3662
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2890
bsmnconsultancy
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...

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.