Get a URL by a querystring
how can I send a url value in a querystring , I am facing a problem maybe of '/' such as :
<a href=defaul.aspx?logo="http://localhost/myproject/2.jpg"></a>
In the page load:
I wrote Request.QueryString["logo"]; the value is not received.
please a help :wave: .
Regards,
Ranine
Re: Get a URL by a querystring
"<a href=default.aspx?logo=" & Server.UrlEncode("http://localhost/myproject/2.jpg") & ">click me</a>
Re: Get a URL by a querystring
I realize this isn't what you were asking about, but maybe look into using Session variables instead of QueryString or cookies.
Code:
Session["MyURL"]="http://www.vbforums.com";