Click here to Skip to main content
15,895,084 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
I am using asp.net. I have a main menu. what I have done is,in the Home/About page,when user click on the menu I replacing the About page content by selected page content selected in the menu.
SQL
$("#content").html(iframeof selected menu url);

here,content is in About page . My problem is when I click on browser back button,It is redirecting to the log in page,not redirecting to the previous selected page.

how can I display the previous page when user click on the browser back button.
Posted
Updated 6-Aug-13 19:31pm
v2
Comments
ridoy 7-Aug-13 2:42am    
by default browser back button shows previous page if you don't clear browser cache history from code behind. So don't clear that or session and you will get that.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900