Skip to content

Configurable persistent session key? #393

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
sodabrew opened this issue Apr 9, 2018 · 0 comments
Open

Configurable persistent session key? #393

sodabrew opened this issue Apr 9, 2018 · 0 comments

Comments

@sodabrew
Copy link
Contributor

sodabrew commented Apr 9, 2018

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/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant