I have one view of a multimedia page wherein I use AJAX for pagination. The view shows the result of a multimedia image. When I click on the image it goes to the inner content page. In the inner content page there is a back button. When I click the button, it goes back to the previous page from where I came.
When I click on the back button it always forwards me to the multimedia page. But I want it to forward me to pagination page 2 if I came from page 2.