"After many years of LEAKS going on in Washington, it is great to see the A.G. taking action! For National Security, the tougher the better!" Trump wrote on Twitter from his golf club in Bedminster, New Jersey.
Sessions had been the public target of the president's anger recently because he had recused himself from a probe into allegations that Trump's aides coordinated with Russia to tilt last year's election in his favor.
At one point, Trump told The New York Times he would never have appointed Sessions had he known he would recuse himself. Trump also took to Twitter to blast Sessions as "VERY weak," among other criticisms on social media.
The attacks were widely seen as designed to force Sessions into resigning.
However, the former Alabama senator appeared to be on Trump's good side Saturday after launching a high-profile campaign to crack down on government employees who leak classified or sensitive information to the media.
The action comes after a spate of scoops -- many of them unfavorable -- about the Trump administration.
Trump, who once asked "what's the point" of vacations and often admonished his presidential predecessor Barack Obama for taking them while in office, also pushed back on reports that his 17-day stay at his beloved Bedminster resort was a holiday.
"Working in Bedminster, N.J., as long planned construction is being done at the White House. This is not a vacation - meetings and calls!" he tweeted.
The White House has said Trump's Bedminster stay would be a "working vacation," and cited scheduled upgrades of the West Wing's creaky heating and cooling system during the steamy Washington summer as a reason why Trump was leaving town.
The massive facility with 36 holes of golf is where Trump's daughter Ivanka wed and where he reportedly thought of being buried.
(This story has not been edited by NDTV staff and is auto-generated from a syndicated feed.)
Get the latest election news, live updates and election schedule for Lok Sabha Elections 2019 on ndtv.com/elections. Like us on Facebook or follow us on Twitter and Instagram for updates from each of the 543 parliamentary seats for the 2019 Indian general elections.