Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

Persistent session identifier and API compat for CookieSessionStore

#1591

As per comment of http://github.com/rails/rails/co...>

" Josh,

Not sure if this makes sense, but we’ve been using CookieSessionStore with a persistent session_id for a few months to be able to track features such as visitors to resource X also viewed resource Y etc.

Sole motivation being API compat with other stores that do yield a consistent session identifier minus having to use a server side session store.

I updated it today for compat. with this commit.

http://github.com/methodmissing/...

Would you consider such a feature useful at the framework level ?

"

Patch and test case attached.

Special care taken to not corrupt digest verification.

Reported by Lourens Naudé · December 17th, 2008 @ 06:43 PM

State: resolved
Milestone: none
Assigned to: josh josh
Importance: none

Activity

  1. josh
    josh
    • Milestone cleared.
    • State changed from new to open

    December 17th, 2008 @ 07:57 PM

  2. josh
    josh

    Thanks for finding this. Those deprecation warnings area great touch and making moving to the new sessions alot easier. Please bring up another other difficulties you run into. I want to make the move to Rack as easy as possible for people.

    December 18th, 2008 @ 05:14 PM

  3. Repository
    Repository
    • State changed from open to resolved

    (from [3ff6b00ee30d0961f57e3c4b64ec8ff0155aaf2d]) Persistent session identifier support for CookieSessionStore and API compat. with the server side stores [#1591 Persistent session identifier and API compat for CookieSessionStore state:resolved]

    Signed-off-by: Joshua Peek josh@joshpeek.com http://github.com/rails/rails/co...

    December 18th, 2008 @ 05:35 PM