Hi all

we need concurent session management in a symfony 2 project we are currently 
working on at liip, so we propose the following extension to the Symfony 2 
Security Component:

https://gist.github.com/818473

Concurrent session management exists in the Spring framework, so we tried to 
implement it as close as possible using a ConcurrentSessionControlStrategy 
class that relies on a SessionRegistry. The SessionRegistry uses memcached to 
store an array of session keys per user. Since the session data itself needs to 
be stored with a modify date, we had to provide our own SessionStorage that 
extends NativeSessionStorage, also using memcached.

Please let us know what you think and if we should create a pull request for 
this.

regards

Stefan Paschke

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/symfony-devs?hl=en

Reply via email to