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

Editing URL before displaying it into the addressbar of the web browser

Hi guys,
again with problem.
now the problem is something like this.
in the backend of the asp.net 2.0, i'm getting query string in the
page_load event. the request url is something like this.
http://www.mycom.com/default.aspx?param1=x

all i want to do is, after processing the "param1", i want to add
another param into the querystring, so it would become something like
this.
http://www.mycom.com/default.aspx?param1=x&param2=xx

when it is shown into the addressbar of the web browser.

i tried to add the param into the request.querystring.add(), but it
said, that collaction is READ ONLY. i dont know how to modify this
querystring collaction.

tools:
asp.net 2.0
c#.net 2.0

i would appriciate any help.

Lucky

Jan 10 '07 #1
2 1272
The url in the browser is the page that the client requested and got a
response from. The only way the server can change this is to redirect
the client. You can't change what was asked for... note that a
redirect will necessitate a whole new request.

Marc
Jan 10 '07 #2
hey Marc!
i had this doubt. thanks for sharing your view.

Lucky

Marc Gravell wrote:
The url in the browser is the page that the client requested and got a
response from. The only way the server can change this is to redirect
the client. You can't change what was asked for... note that a
redirect will necessitate a whole new request.

Marc
Jan 10 '07 #3

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

Similar topics

1
by: nospam | last post by:
Amazon wins patent for ordering forms, Collapsing and Maximizing Form Areas.... NAME OF PATENT Method and system for displaying and editing of information # 6,615,226 ...
8
by: Chris Dunaway | last post by:
When using a PropertyGrid, I have an object with a Date property, but I am only interested in the Time portion. How do I make the PropertyGrid allow editing the time only? Just the hours and...
13
by: Ron Eggler | last post by:
Hi, is it possible to read out the Addressbar with javascript or do I have to use php for it? Thank you! -- roN www.rideon.ch
1
by: sam.collett | last post by:
Is there a basic guide on Xml document creation and editing (simpler than the MSDN docs). Say I want to create a file containing the following: <?xml version="1.0" encoding="utf-8"...
1
by: Jimit | last post by:
Hi, What is the best way to provide the browser based XML editing for better user experience. Presently I am displaying xml in simple Text Area for editing in a browser and I am looking for some...
8
by: Just D. | last post by:
Did anybody see the script to hide extra bars in the Internet Explorer? I'd like to start my WebApp with all these bars hidden. How? Thanks, Just D.
6
by: Coleen | last post by:
Hi all :-) I need to redirect to multiple pages on click of a transmit button, without redisplaying each page. This redirection is to capture session variables that are created on each page and...
2
by: Lucky | last post by:
Hi guys, again with problem. now the problem is something like this. in the backend of the asp.net 2.0, i'm getting query string in the page_load event. the request url is something like this....
13
by: David W. Fenton | last post by:
I've been struggling the last two days with something I thought was very easy, which is to open a web page with a form on it and populate the form with data passed in a query string (either POST or...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
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: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
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: 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
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.