Open mustafa05deniz opened 2 years ago
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.
Hello i like to know how you did it ?
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.