Søg i Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Læs mere

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.

Alle svar (1)

more options