I'm using Facebook authentication on my site. On redirect Facebook appends this to my URL #_=_
, e.g. http://www.example.com/account#_=_
Also see here.
I want to check in my codebehind whether the #_=_
snippet exists, but none of the methods I tried return the right string to run that check on.
All on the Request
object I tried:
- Rawurl
- URL
- PathAndQuery
- OriginalString
- AbsoluteUri
- AbsolutePath
- Query
- Fragment
- QueryString
How can I get the right string?