Making Symfony 2 project cookieless

138 views Asked by At

I am trying to make Symfony 2 project cookieless as I have no requirement for cookies on my site.

1

There are 1 answers

0
Alec On BEST ANSWER

Enable stateless firewall to disable cookies.

# app/config/security.yml
security:
    firewalls:
        main:
            stateless:  true

Further documentation here.