Hi, I needed to access session information from the server side for a situation, but I couldn't find how to do it.
middleware({ app, redirect}) { const token = app.$storage.getUniversal('accessToken') if (!token) { return redirect('/')}}
i need to get data from session like this,
app.$storage.getSession('accessToken')
Is there any way to read this data from server side.
Hi, I needed to access session information from the server side for a situation, but I couldn't find how to do it.
middleware({ app, redirect}) { const token = app.$storage.getUniversal('accessToken') if (!token) { return redirect('/')}}i need to get data from session like this,
app.$storage.getSession('accessToken')Is there any way to read this data from server side.