Immutant
  1. Immutant
  2. IMMUTANT-267

metadata of the JSESSIONID cookie should be exposed, for setting HttpOnly, Expires etc.

    Details

    • Type: Feature Request Feature Request
    • Status: Resolved Resolved (View Workflow)
    • Priority: Minor Minor
    • Resolution: Done
    • Affects Version/s: 0.9.0
    • Fix Version/s: 0.10.0
    • Labels:
      None
    • Similar Issues:
      Show 10 results 

      Description

      19:34 < tcrawley> serpent213: it looks like that's currently not exposed. We would need to expose a way to do that, possibly by just using the attributes you pass to the session setup fn (like you do with ring) and manipulating the proper bits in the container

        Issue Links

          Activity

          Hide
          Toby Crawley
          added a comment -
          Show
          Toby Crawley
          added a comment - We can look at the TorqueBox impl for inspiration: https://github.com/torquebox/torquebox/blob/master/gems/web/lib/torquebox/session/servlet_store.rb#L28
          Hide
          Toby Crawley
          added a comment -

          We now expose set-session-timeout! and set-session-cookie-options! in immutant.web.session for controlling the session options. Note that one session is shared across all endpoints/servlets started within the application, so altering these settings will affect them all.

          Show
          Toby Crawley
          added a comment - We now expose set-session-timeout! and set-session-cookie-options! in immutant.web.session for controlling the session options. Note that one session is shared across all endpoints/servlets started within the application, so altering these settings will affect them all.
          Hide
          Toby Crawley
          added a comment -

          Note that you can also interrogate the current settings with the session-timeout and session-cookie-attributes fns.

          Show
          Toby Crawley
          added a comment - Note that you can also interrogate the current settings with the session-timeout and session-cookie-attributes fns.

            People

            • Assignee:
              Toby Crawley
              Reporter:
              Steffen Beyer
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: