If the Passed iD has succesfully been turned into valid Object Id, then the user should get redirected to the page and DBname and collection name should be displayed, But it is not so.
User has to explicitly refresh the webpage in order for them to be shown.
If the Passed iD has succesfully been turned into valid Object Id, then the user should get redirected to the page and DBname and collection name should be displayed, But it is not so. User has to explicitly refresh the webpage in order for them to be shown.