Note that there are some explanatory texts on larger screens.

plurals
  1. POSymfony 2 'Your session has timed-out, or you have disabled cookies.'
    primarykey
    data
    text
    <p>I am trying to use Symfony 2 security component, but I have a problem with IE9. It works in any other browser, which I found very odd. Symfony version 2.0.16.</p> <p>Controller is like 'in the book'. I have a custom template file for the login form, using the one from documentation doesn't help. Also made custom routing paths, but specified them in seciurity config file. Here is the security config file, I have changed a little bit in there, but I think it is all in order...</p> <pre><code>security: encoders: Acme\MyBundle\Entity\User: algorithm: sha1 encode_as_base64: true iterations: 5 role_hierarchy: ROLE_CLIENT: ROLE_USER ROLE_MANAGER: ROLE_USER ROLE_ADMIN: [ROLE_USER, ROLE_MANAGER, ROLE_ALLOWED_TO_SWITCH] providers: main: entity: { class: Acme\MyBundle\Entity\User, property: email } firewalls: dev: pattern: ^/(_(profiler|wdt)|css|images|js)/ security: false dev_custom: pattern: ^/createUser security: false login: pattern: ^/(login-custom|remind-pass)$ security: false secured_area: pattern: ^/ form_login: login_path: /login-custom check_path: /login-check-custom logout: path: /logout-custom target: / access_control: - { path: ^/, roles: ROLE_USER } </code></pre> <p>After submitting form in IE9 I just get redirected back to the form, without validating data. In logfile I found:</p> <p>[2012-08-14 02:51:00] security.INFO: Authentication request failed: Your session has timed-out, or you have disabled cookies. [] [] [2012-08-14 02:51:00] security.DEBUG: Redirecting to /login[] []</p> <p>Ofcourse I have cookies enabled.</p> <p>In ie console there is a warning 'HTML1113 goin to quirks mode'. What have I done wrong?</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload