Skip to content

Client Side Session Check #817

Closed Answered by pilcrowOnPaper
nathanaelphilip asked this question in Q&A
Discussion options

You must be logged in to vote

Looks like you can reload the entire page with router.refresh(), which should work if you call it after logging in the user (instead of using router.push() to redirect the user to the protected page)

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
3 replies
@nathanaelphilip
Comment options

@pilcrowOnPaper
Comment options

Answer selected by nathanaelphilip
@pilcrowOnPaper
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants