session issue
# support-questions
d
Hi, I have custom endpoint for signin, so I use createNewSession to set the cookies which is then used by frontend to check if session exists. I have updated the core and sdk and now createNewSession needs a new param of 'req'. I am passing it, and I see that it created refresh tokens and everything but on frontend, the cookie value shows 'remove'. Then I tested with createNewSessionWithoutRequestResponse and it actually sets the cookie values like 'sFrontendToken' but it gets in a loop of refreshing the tokens. Please let me know what can be the solution, I can use either createNewSession or createNewSessionWithoutRequestResponse.
r
hey @Dalai Llama which version of the frontend sdk are you using? please make sure to use the latest version only
d
Using "supertokens-web-js": "^0.3.0" in vue3
r
please upgrade it to ^0.5.0
d
ah ok, thanks