+ Start a Discussion
ashish raiashish rai 

Difference between system.currentPagereferenceand Apexpages.currentpage()

Hi All,

        What is the basic difference between these two system.currentPagereference.getParameters().get() and Apexpages.currentpage().getparamethers().get()????????????

Best Answer chosen by Admin (Salesforce Developers) 
bob_buzzardbob_buzzard

There is no difference - both System.currentPageReference() and ApexPages.currentPage() return a reference to the current page.