Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
rtutus
Aged Yak Warrior
522 Posts |
Posted - 2006-06-23 : 01:33:53
|
can we edit request.querystrings variables in the code behind or are the values that re included in querystrings read only?-in other way, can I reload the page with different query string variables values |
|
DustinMichaels
Constraint Violating Yak Guru
464 Posts |
Posted - 2006-06-23 : 01:42:31
|
The values are readonly.If you create a System.Web.IHttpHandler you can use the System.Web.HttpContext.RewritePath() method to change things like the query string values before the page gets loaded. |
 |
|
JBelthoff
Posting Yak Master
173 Posts |
Posted - 2006-06-26 : 10:35:01
|
That doesn't mean you can't store the querystring value in a variable and then modify the variable... JBelthoff• Hosts Station is a Professional Asp Hosting Provider• Position SEO can provide your company with SEO Services at an affordable price› As far as myself... I do this for fun! |
 |
|
rtutus
Aged Yak Warrior
522 Posts |
Posted - 2006-07-03 : 20:25:19
|
System.Web.IHttpHandler didn t allow me to edit the querystring and re-display the page again. how do we do that pls ( i wanna re-display the same page again after changing querystring)thanks |
 |
|
DustinMichaels
Constraint Violating Yak Guru
464 Posts |
Posted - 2006-07-03 : 21:31:04
|
If you use the RewritePath() method it isn't going to change the URL in the browser. You can always Response.Redirect to a page after you change the query string values. Maybe this is what you want instead. |
 |
|
rtutus
Aged Yak Warrior
522 Posts |
Posted - 2006-07-04 : 17:44:12
|
so what does RewritePath() do exactlyin plain english pls :)thanks |
 |
|
Jon_Hou
Starting Member
8 Posts |
Posted - 2006-07-10 : 05:27:20
|
my god. |
 |
|
JBelthoff
Posting Yak Master
173 Posts |
Posted - 2006-07-10 : 11:47:53
|
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfsystemwebhttpcontextclassrewritepathtopic.asp JBelthoff• Hosts Station is a Professional Asp Hosting Provider• Position SEO can provide your company with SEO Services at an affordable price› As far as myself... I do this for fun! |
 |
|
rtutus
Aged Yak Warrior
522 Posts |
Posted - 2006-07-12 : 15:53:58
|
thank you |
 |
|
|
|
|