W3C home > Mailing lists > Public > www-validator@w3.org > December 2001

Re: Problem in Sending the Data By Querystring

From: Liam Quinn <liam@htmlhelp.com>
Date: Tue, 11 Dec 2001 18:08:07 -0500 (EST)
To: kamlesh Andhare <kamleshda@hotmail.com>
cc: <www-validator@w3.org>
Message-ID: <Pine.LNX.4.33L2.0112111804310.13991-100000@localhost.localdomain>
On Fri, 7 Dec 2001, kamlesh Andhare wrote:

> I am trying to validate the site for W3C 4.01 HTML Transitional.
> I have some Links as follows
>     Page.asp?a=b&b=c
> Which is not a valid link as per W3C.
> So I changed it to
>     page.asp?a=b&amp;c=d
> Which is error free.
> But because of this now my ASP's Request.Querystring("b")
> is not working. I could get the value of the "a" but for "b"
> I am not getting the value !!
> If I am removing the "&amp;" from the url then it is working.
> what would be the probable solution for this !!

It sounds like you're entering the URL directly in your browser or
otherwise bypassing the browser's translation of "&amp;" to "&".  When you
select a link such as

<a href="page.asp?a=b&amp;c=d">...</a>

your browser will fetch "page.asp?a=b&c=d".

Liam Quinn
Received on Tuesday, 11 December 2001 18:08:01 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:58:25 UTC