Skip to content

how to get session data server side(middleware) #189

@mustafa05deniz

Description

@mustafa05deniz

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions