Url changes but page stays on the same page
-
I have a site with a page whose url is like: http://localhost:2324/Page2 When the back button of browser is pressed the url changes to http://localhost:2324/Page1 However, the browser still shows contents of page2. Obviously if I press refresh then the browser refreshes the page. Any ideas?
CodingYoshi Artificial Intelligence is no match for Human Stupidity.
-
I have a site with a page whose url is like: http://localhost:2324/Page2 When the back button of browser is pressed the url changes to http://localhost:2324/Page1 However, the browser still shows contents of page2. Obviously if I press refresh then the browser refreshes the page. Any ideas?
CodingYoshi Artificial Intelligence is no match for Human Stupidity.
You have to fix the error in your URL map. Since Page2 did not have an extension, then it must be a mapped value to lets say page2.aspx. You as a programmer control the mappings (page2) that are sent to IIS Server for reverse mapping back to a page2.aspx?value=1, using your map as reference. It is in my opinion that your trying to do too much at once. The implementation of query strings plus learning how to program or structure url mappings for IIS Server seems to be confusing you. You may want to consider creating a paper map, like a visio diagram that holds the data structure of your program, so you can confirm that every possible scenario works first on paper in query strings, and then create your url map according to your Visio.