Home All Groups Group Topic Archive Search About

I want the # pound in the URL QueryString, not a bookmark

Author
30 Dec 2005 12:11 AM
Larry
I am hoping there is a way to encode the querystring part of a URL reached
from a hyperlink that will cause the Request to not drop the info after the #
in the URL string.  Any clues or links to details on how I would do this?
Thanks!

Author
1 Jan 2006 8:36 PM
Jörg Jooss
Hello Larry,

> I am hoping there is a way to encode the querystring part of a URL
> reached from a hyperlink that will cause the Request to not drop the
> info after the # in the URL string.  Any clues or links to details on
> how I would do this? Thanks!

Why don't you URL encode all # characters? Instead of http://host/to/path/file.aspx?a#b,
use http://host/to/path/file.aspx?a%23b.

Cheers,
--
Joerg Jooss
news-re***@joergjooss.de
Author
2 Jan 2006 12:36 PM
Larry
Sounds great, except I've never needed it before, so I don't know how to
implement it. Do you have any links that explain it?
Thanks again.

Show quote
"Jörg Jooss" wrote:

> Hello Larry,
>
> > I am hoping there is a way to encode the querystring part of a URL
> > reached from a hyperlink that will cause the Request to not drop the
> > info after the # in the URL string.  Any clues or links to details on
> > how I would do this? Thanks!
>
> Why don't you URL encode all # characters? Instead of http://host/to/path/file.aspx?a#b,
> use http://host/to/path/file.aspx?a%23b.
>
> Cheers,
> --
> Joerg Jooss
> news-re***@joergjooss.de
>
>
>

AddThis Social Bookmark Button