I am trying to implement ajax back/forward button support and therefore writing variables after a # in my url. I would also like the user to be able to copy the url and then link back to it. Does anyone know how can I parse the url and grab my ‘querystrings’ even though they are behind a #?
I am trying to implement ajax back/forward button support and therefore writing variables after
Share
The value after the hash is not transmitted to the server. There’s another SO question about that somewhere, but I’m having trouble finding it. Likewise it’s taken me a while to find a decent reference to cite, but this Wikipedia article has some confirmation:
I assume you want to respond to it on the server side rather than the browser side? (Given that you’re asking about doing it in C#…)