gorilla/sessions provides cookie and filesystem sessions and infrastructure for custom session backends. The key features are Simple API: use it as an easy way to set signed (and optionally encrypted) cookies. Built-in backends to store sessions in cookies or the filesystem. Flash messages: session values that last until read. A convenient way to switch session persistency (aka "remember me") and set other attributes. Mechanism to rotate authentication and encryption keys. Multiple sessions per request, even using different backends. Interfaces and infrastructure for custom session backends: sessions from different stores can be retrieved and batch-saved using a common API. First we initialize a session store calling NewCookieStore() and passing a secret key used to authenticate the session.

Features

  • Built-in backends to store sessions in cookies or the filesystem
  • Flash messages: session values that last until read
  • Convenient way to switch session persistency (aka "remember me") and set other attributes
  • Mechanism to rotate authentication and encryption keys
  • Multiple sessions per request, even using different backends
  • Simple API: use it as an easy way to set signed (and optionally encrypted) cookies

Project Samples

Project Activity

See All Activity >

Categories

Frameworks

License

BSD License

Follow sessions

sessions Web Site

Other Useful Business Software
Workable Hiring Software - Hire The Best People, Fast Icon
Workable Hiring Software - Hire The Best People, Fast

Find the best candidates with the best recruitment software

Workable is the preferred software for today's recruiting industry and HR teams, trusted by over 6,000 companies to streamline their hiring processes. Finding the right person for the job has never been easier—users now possess the ability to manage multiple hiring pipelines at once, from posting a job to sourcing candidates. Workable is also seamlessly integrated between desktop and mobile, allowing admins full control and flexibility all in the ATS without needing additional software.
Learn More
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of sessions!

Additional Project Details

Operating Systems

Linux, Mac, Windows

Programming Language

Go

Related Categories

Go Frameworks

Registered

2023-01-19