<@498057949541826571> is there any documentation t...
# support-questions
@rp is there any documentation to know if the session is expired in the app side (vue3). I am using apollo client graphql and i want to create middle-ware where it will check if the session is Expired and redirect to login page. And yes I am not using pre built ui of supertokens.
hey @porcx you can use the Session recipe';s Session.doesSessionExist function
Yes found that. Thanks again 🙂
I am getting this error where it says
Copy code
Error: No instance of Session found. Make sure to call the Session.init method.
When i am using await Session.doesSessionExist(). Am I missing something ?
yea. You need to call session.init in the recipeList