I'm currently working on enhancing the user experience on my website, specifically around the login and profile update functionalities. I have placed signup and login buttons in the header of the website, and I'm utilizing a pre-built modal for the login process.
I'm looking for a way to automatically refresh the original page or at least update the login status on the original page once a user logs in through the modal or updates their profile. The goal is to have the login status updated automatically without requiring the user to manually refresh the page.
Has anyone implemented a similar feature or have suggestions on the best approach to achieve this? Any guidance or examples would be greatly appreciated!