I have the following URL: /Login.aspx?ReturnUrl=Default.aspx#/mydesign
/Login.aspx?ReturnUrl=Default.aspx#/mydesign
Request.QueryString["ReturnUrl"] returns only "Default.aspx" .
Request.QueryString["ReturnUrl"]
"Default.aspx"
Why doesn't it return "Default.aspx#/mydesign" ?
"Default.aspx#/mydesign"
Since everything after the hash mark (#) is called a fragment, and according to the HTTP specification, the fragmented part of the URL is never sent to the server. You can only verify this with client-side JavaScript.
Source: https://habr.com/ru/post/1302595/More articles:Groovy + Antbuilder: how to use Grape to work with taskdef? - classloaderthe purpose of common ptrs (boost) in the constructor, unit testing - c ++Multiple User Accounts in Rails - authenticationWebRequest exception in .NET - c #WMI: how to distinguish an internal hard drive of a local drive from an external hard drive of a local drive - delphiasp.net sessions are lost when the page reloads (ispostback = false) - asp.netWhat are some general guidelines for checking input? - securitySolve C ++ virtual functions from a base class - c ++How to manage paging with Solr? - javaQuestions about SOLR documents and a few more - javaAll Articles