Skip to content
This repository has been archived by the owner on Oct 28, 2020. It is now read-only.

Dynamic Prefix Value #103

Open
ashish8488 opened this issue May 29, 2018 · 0 comments
Open

Dynamic Prefix Value #103

ashish8488 opened this issue May 29, 2018 · 0 comments

Comments

@ashish8488
Copy link

ashish8488 commented May 29, 2018

Hello,

I want to set a dynamic prefix to a session key. Currently is available in configuration but it accepts only a static value. What if I want to set prefix with a dynamic values? For example I want to set prefix as "userId_"?

Can you please suggest for this requirement?

Please note that I tried to extend Lsw\MemcacheBundle\Session\Storage\LockingSessionHandler but the $prefix variable is private. Also my extended class was not being included even if I have set the parameter memcache.session_handler.class: < path to my extended class >.

Thank You,
Ashish Shah

@ashish8488 ashish8488 changed the title Dynamic Prefix Dynamic Prefix Value May 29, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant