I'm using Magento 22.214.171.124.
The following contains a useful URL when run in "template/catalog/product/view.phtml".
When I try to get the same URL by running the following from "Mage_Customer_AccountController". I don't get the same URL.
Is there anyway I could save the URL value from "template/catalog/product/view.phtml" and be able to use that variable in "Mage_Customer_AccountController" methods ?
Don't hesitate to provide code snippets as I'm new in Magento.