Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8454439
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T12:01:57+00:00 2026-06-10T12:01:57+00:00

I am trying to use Symfony 2 security component, but I have a problem

  • 0

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.

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…

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 }

After submitting form in IE9 I just get redirected back to the form, without validating data. In logfile I found:

[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[] []

Ofcourse I have cookies enabled.

In ie console there is a warning ‘HTML1113 goin to quirks mode’.
What have I done wrong?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T12:01:59+00:00Added an answer on June 10, 2026 at 12:01 pm

    I’ve found the answer here:
    ie complicated subdomain cookie problem

    In short: ie silently drops cookies, when subdomain contains ‘undesrcore’. I thought I misconfigured the security component or got something wrong with templates or headers, but that was not the case.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to use auto-generated forms in symfony, but I have troubles finding good
I am trying to throw exceptions and I am doing the following: use Symfony\Component\HttpKernel\Exception\HttpNotFoundException;
I'm trying to find a way to use the Symfony 2 Dependency Injection component
Im trying use a Java annotation in a Groovy class but have trouble to
I am trying use gem tire to search in my application. I have tables
Hi I'm trying use a datepicker on a field I have. I'm trying to
I'm trying to use the following technique described on symfony.com : http://symfony.com/doc/current/cookbook/testing/http_authentication.html in an
On my local machine, the symfony project I have created works perfectly. I have
I just started to use the PHP symfony framework. Currently I'm trying to create
I'm trying to use MapClassLoader in autoload.php but for some reason I keep getting

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.