ipfans / echo-session

Package echo-session is a middleware that provides session support for echo.
Apache License 2.0
67 stars 36 forks source link

No session set options example #2

Closed acidvertigo closed 8 years ago

acidvertigo commented 8 years ago

i'm tryng to understand how to set the options for the session (path, maxage etc...) but with no success. Is possible to have an example for this?

ipfans commented 8 years ago

Options stores configuration for a session or session store. Fields are a subset of stdlib http.Cookie fields. So you can set values like http.Cookie.

This repo is working for echo.v1. if you want use session in echo.v2, I suggest to https://github.com/echo-contrib/sessions.

acidvertigo commented 8 years ago

understood thank you !