Does Jets Support Sessions?

Does Jets have any built-in session “mechanism” or must it implement at application-level?

Typical cases: user state (logged in, logged out), user transient preferences, etc.

Yes. Sessions support is documented here

Here’s a code snippet for convenience:

class PostsController < ApplicationController
  def index
    session[:current_time] =
    render json: {message: "set some data in the session"}

  def show
    # session data from previous show request
    puts "session[:current_time] #{session[:current_time]}"
    render json: session