搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

Learn More

Refreshing the browser takes to initial landing page

more options

Tab 1: Click on a link 'HOST/token' to launch new application App 2 (Angular 6 application) in a new tab.

Tab 2: The new tab opens up the above link, angular application makes an API call to verify the token. If token is verified successfully, user is redirected to '/home'. Now, if I navigate to '/profile' as we do in SPA (Single Page App) and hit browser refresh button, I am taken to the initial loading page - 'HOST/token' - which is the initial landing page for Tab 2.

Tab 1: Click on a link 'HOST/token' to launch new application App 2 (Angular 6 application) in a new tab. Tab 2: The new tab opens up the above link, angular application makes an API call to verify the token. If token is verified successfully, user is redirected to '/home'. Now, if I navigate to '/profile' as we do in SPA (Single Page App) and hit browser refresh button, I am taken to the initial loading page - 'HOST/token' - which is the initial landing page for Tab 2.

所有回覆 (1)

more options