I am using sfPDOSessionStorage with symfony. I need to destroy and regenerate a user's session. Is there any function that allows me to do this?
Using session_destroy(); session_regenerate_id(); session_start(); obviously doesn't work because it would bypass the database storage.
I've tried directly calling:
getContext()->getStorage()->sessionDestroy(session_id());
which works, but the session_id is still persistent.