# FileSessionAdapter.writeFunction.

write(session::Sessions.Session) :: Sessions.Session

Persists the Session object to the file system, using the configured sessions folder and returns it.

source

# FileSessionAdapter.readFunction.

read(session_id::Union{String,Symbol}) :: Nullable{Sessions.Session}
read(session::Sessions.Session) :: Nullable{Sessions.Session}

Attempts to read from file the session object serialized as session_id.

source