Rectangle 27 0

php Symfony2 is it possible to remove session variable with Javascript?

Using ONLY Javascript, you can't. Your PHP session can only be accessed through php. The only thing you can do is create a function in php that removes whatever you want from the session, and call it from javascript using ajax calls like @MouradK said