when the add to cart button is pressed, a session variable is set with the name of the page that contains the add to cart button. this session is used by the continue shopping button to return back to the page.
it can only pass the name of the page, not the location on the page where the add to cart button was pressed.