vb.net if statement using the value of hash in URL
I have a page with a URL that includes a hash value (www.mysite.com/#123).

What I want to do is use that value to determine what is displayed on the page - much like using a querystring.

I am using the hash value because the content on the page can be changed client side (I am avoiding page reloads where possible) - if the user then links to another page and uses the back button to return, I need to use the hash value to display the page as it was when they left it.

So I'm looking for an if statement that will look something like this:

    if hashvalue = 123 then
        Do this
    else
        do that
    End if

Any ideas?


vb.net if statement using the value of hash in URL
===

I have a page with a URL that includes a hash value (www.mysite.com/#123).

What I want to do is use that value to determine what is displayed on the page - much like using a querystring.

I am using the hash value because the content on the page can be changed client side (I am avoiding page reloads where possible) - if the user then links to another page and uses the back button to return, I need to use the hash value to display the page as it was when they left it.

So I'm looking for an if statement that will look something like this:

    if hashvalue = 123 then
        Do this
    else
        do that
    End if

Any ideas?

