Търсене в помощните статии

Избягвайте измамите при поддръжката. Никога няма да ви помолим да се обадите или изпратите SMS на телефонен номер или да споделите лична информация. Моля, докладвайте подозрителна активност на "Докладване за злоупотреба".

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