I'm having the same issue; native sessions work fine, but there's no
user data persisted in the PDO sessions.  Has anyone else figured out
a solution?

I'm not sure if it's relevant, but switching to PDO session storage
also causes sqlite database-locked errors to show up when accessing
multiple pages simultaneously (e.g a page and its assets) with the
profiler enabled.  This seems strange, since my pdo_connection service
uses a mysql connection.  But I don't get those errors when using
native session storage.

Any ideas would be much appreciated!
Kevin

On Mar 18, 10:36 am, Gustavo Adrian <comfortablynum...@gmail.com>
wrote:
> Hi all,
>
> I've configured my security environment successfully using "native" session
> storage type. But when I try to use the PDO session and I try to login, it
> logs OK, but when it redirects to homepage it suddenly goes back to the
> login page. My session data saved on DB:
>
> _symfony2|a:3:{s:6:"_flash";a:0:{}s:7:"_locale";s:2:"en";s:21:"_security.target_path";s:61:"http://hostname/myapp/web/app_dev.php/module/dashboard";}
>
> Did I forget something?
>
> BTW: Which would be the right way to add a "user_id" to the session row?
> should I extend the PDOSessionStorage class?
>
> Thanks in advance.

-- 
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 users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

Reply via email to