A link opened in a new window does not recognise that user is logged in

Thanks for this, @russian-dima . However the issue is that the user is also not recognised as logged In in the new page. So will sending data through local serve the purpose?