Britain and Pakistan have agreed to do more to fight Islamic militants.
It comes after the UK Prime Minister sparked a diplomatic row by criticising Pakistani efforts in countering terrorism.
During a trip to India last week David Cameron said Pakistan should not “look both ways” in combating militant groups, causing anger in Islamabad and straining relations between the two countries.
But after talks at Cameron’s official country residence at Chequers, both countries hailed what they called an “unbreakable” friendship.
“Storms will come and storms will go and Pakistan and Britain will stand together and face all the difficulties with dignity, and we will make sure the world is a better place for our coming generations,” Zardari told reporters.
Cameron spoke of an “unbreakable relationship between Britain and Pakistan based on our mutual interests.”
The leaders took no questions from reporters after making short statements.
Despite the semblance of normal relations having been restored, President Zardari’s visit to Britain is unlikely to silence critics at home who claim he should be in the country during the devastating floods.