Results 1 to 3 of 3

Thread: Get URL with Named Anchor

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Mar 2006
    Posts
    180

    Get URL with Named Anchor

    Hi,

    I've got this url http://mysite.com/offers.aspx#offer3

    How can I access the #offer3 - its not present in any of the Request.ServerVariables collection ?

    Thanks

  2. #2
    Frenzied Member
    Join Date
    Nov 2001
    Location
    Mass USA
    Posts
    1,674

    Re: Get URL with Named Anchor

    try Request.QueryString(0)

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

    Re: Get URL with Named Anchor

    You cannot. It needs to be done client side. Any logic based upon that anchor needs to be client side.

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