Results 1 to 3 of 3

Thread: Get a URL by a querystring

  1. #1

    Thread Starter
    New Member
    Join Date
    Nov 2005
    Posts
    12

    Exclamation 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.

  2. #2
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: Get a URL by a querystring

    "<a href=default.aspx?logo=" & Server.UrlEncode("http://localhost/myproject/2.jpg") & ">click me</a>

  3. #3
    Fanatic Member BillBoeBaggins's Avatar
    Join Date
    Jan 2003
    Location
    in your database, dropping your tables.
    Posts
    628

    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
  •  



Click Here to Expand Forum to Full Width