Hello, I have taken over a site built in asp.net 2.0 and I have been alerted to a bug that I need to fix (this is the first .net website I have managed). We have a page that allows users to submit a form that queries the database and returns results.
The bug: if a user navigates away from that search page, then uses a link on the home page to go to the search page again, the old results are still displaying instead of the form. The form and the results are on the same .aspx page. However there is a
link that is NOT on the home page that goes to the search form and if the user access the form from there, the results do not show. The only thing I can determine that is different about the links (and they are both just plain old html links) is the "depth"
from within the site that they are located. I am wondering if session state is managed differently if the href has to do a folder traversal.
The page with the form is: http://checkoutacollege.com/ReadySetGo/Set/CollegeSearch.aspx
The href that returns to form page from the home page (and results in the bug) is: <a href="/ReadySetGo/Set/CollegeSearch.aspx">
The href that returns to the from page that is not on the home page is: <a href="CollegeSearch.aspx"> .
I would be grateful for any direction someone might steer me in.
run4it
Member
44 Points
288 Posts
newbie question: why does my results page still show results
Oct 02, 2008 07:12 PM|LINK
Hello, I have taken over a site built in asp.net 2.0 and I have been alerted to a bug that I need to fix (this is the first .net website I have managed). We have a page that allows users to submit a form that queries the database and returns results. The bug: if a user navigates away from that search page, then uses a link on the home page to go to the search page again, the old results are still displaying instead of the form. The form and the results are on the same .aspx page. However there is a link that is NOT on the home page that goes to the search form and if the user access the form from there, the results do not show. The only thing I can determine that is different about the links (and they are both just plain old html links) is the "depth" from within the site that they are located. I am wondering if session state is managed differently if the href has to do a folder traversal.
The page with the form is: http://checkoutacollege.com/ReadySetGo/Set/CollegeSearch.aspx
The href that returns to form page from the home page (and results in the bug) is: <a href="/ReadySetGo/Set/CollegeSearch.aspx">
The href that returns to the from page that is not on the home page is: <a href="CollegeSearch.aspx"> .
I would be grateful for any direction someone might steer me in.