According to the URI RFC, ; is an allowed separator. According to W3C
standards, it's recommended for browsers to support ; as well incase the
author needs a lot of & they don't want to encode
(
http://www.w3.org/TR/1999/REC-html40...s.html#h-B.2.2)
Looking inside the .NET framework, the parser seems to have '&' hardcoded.
So you'll need to write your own. A simple version might just use the Split
function:
if (Request.Url.Query.Length > 0)
{
string parts[] = Request.Url.Query.Substring(1,
Request.Url.Query.Length-1).Split(';', '&');
//loop through parts and dump it into your own NameValueCollection if
you want..
}
Karl
--
http://www.openmymind.net/
"Richard Steele" <Ri***********@discussions.microsoft.com> wrote in message
news:36**********************************@microsof t.com...
ASP.net Framework 2 IIS 6 Win 2003
Is it possible to substitute the & (ampersand) in a querystring for
antother
value i.e
test.com?param1=test;param2=notest
instead of &(ampersand) can i use ; (semicolon)
--
Thanks
Richard