Skip to content

Configurable persistent session key? #393

Open
@sodabrew

Description

@sodabrew
Contributor

In #344 there is a request to bring back the configurable PERSISTENT in the session save_path. I'm not sure I follow the reason for configuring this if it's just an opaque token used to stash the connection handle into the PHP global EG(persistent_list) hash.

In php-memcached 2.x, the session key was set by taking the characters following PERSISTENT= and affixing them after memcached_sessions:id=.

In php-memcached 3.0, the session key was set by taking the entire save_path and affixing it after memc-session:.

It seems reasonable to make this configurable in the INI file, but I don't understand the use case for knowing the key. https://devzone.zend.com/446/extension-writing-part-iii-resources/

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @sodabrew

        Issue actions

          Configurable persistent session key? · Issue #393 · php-memcached-dev/php-memcached