|
-
Nov 28th, 2005, 05:43 AM
#1
Thread Starter
New Member
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 .
Regards,
Ranine
Last edited by ranine; Nov 28th, 2005 at 05:53 AM.
-
Nov 29th, 2005, 09:33 AM
#2
Re: Get a URL by a querystring
"<a href=default.aspx?logo=" & Server.UrlEncode("http://localhost/myproject/2.jpg") & ">click me</a>
-
Dec 1st, 2005, 03:29 PM
#3
Fanatic Member
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";
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|