473,387 Members | 1,771 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,387 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 1029
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...
1
by: manuolive | last post by:
Hi Dudes, I have a query regarding browser url.Let me narrate the exact scenario which i need. I would like to expire my session when a person enters different url in the navigator bar...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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...
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
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,...
0
jinu1996
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...

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.