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 >.
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