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

  • Home
  • SEARCH
  • 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 9050193
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T12:35:49+00:00 2026-06-16T12:35:49+00:00

Using Symfony2.0 and FOSUserBundle, how can I always avoid the remember me behavior on

  • 0

Using Symfony2.0 and FOSUserBundle, how can I always avoid the “remember me” behavior on navigators?

As said in documentation, Remember me is disabled by default. And you have to set this in the configuration to make it work:

# app/config/security.yml
firewalls:
    main:
        remember_me:
            key:      "%secret%"
            lifetime: 31536000 # 365 days in seconds
            path:     /
            domain:   ~ # Defaults to the current domain from $_SERVER

Well. I am NOT putting that configuration in security.yml. But, somehow, the navigator is ignoring my desires and it does keep the necessary cookies to re-take a previous valid session from some cookie.

How can I indeed make the user always to log in with his/her login and password?

  • 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-16T12:35:51+00:00Added an answer on June 16, 2026 at 12:35 pm

    It sounds like you are doomed when you want to force this on chrome users:

    Chrome doesn't delete session cookies

    https://groups.google.com/a/chromium.org/forum/?fromgroups=#!topic/chromium-bugs/cjt3WwgOJ3c

    Whenever the feature “Continue where I left off” is actived you will probably have this behavior.

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

Sidebar

Related Questions

I am using Symfony2 and FOSUserBundle. Just as detailed in the documentation, I have
I'm using Symfony2 and assetic in an existing project and I can't figure out
I am trying to alter the date_widget using symfony2 and twig. By default a
I am using Symfony2 and I have users and roles already stored in my
I have a symfony 2.1 project using FOSUserBundle. The bundle is installed correctly. All
Using symfony2. I have a listener class that is attempting to call a method
Using Symfony2, I need to access an external API based on HTTPS. How can
So first of all i am using FOSUserBundle in Symfony2.1 and that stores my
i would like to create a new user in FOSUserBundle (Symfony2), but i always
Using FOSUserBundle and Symfony2, in my site, depending on the roles of the user

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.