What does the symbol ? mean in a URL?
That portion of the URL (ie. after the ?) is known as the query string. http://en.wikipedia.org/wiki/Query_string
?
It is used to pass parameters into web applications.
For example, in ASP.NET I might have an .aspx page like so: http://example.com/myapp/default.aspx
.aspx
Inside my codebehind for that page I can look for the presence of any query string parameters:
string paramValue = Request.QueryString["param"];
So if someone visits my page with the URL of http://example.com/myapp/default.aspx?param=abcd Then the value of paramValue will be "abcd".
paramValue
2.1m questions
2.1m answers
60 comments
57.0k users