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 831171
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T04:09:35+00:00 2026-05-15T04:09:35+00:00

I have 2 Symfony applications (1 using 1.2.x, another using 1.4.x and both using

  • 0

I have 2 Symfony applications (1 using 1.2.x, another using 1.4.x and both using Propel) that need to share some specific session information. Although I have no experience with memcached, my sense–after some reading–is that it may be able to serve as an external (FAST) repository that each app could read and write to. Unfortunately, I can’t find much information about how to use it with Symfony in any capacity, much less in the quasi-cache, quasi-messaging server I’m envisioning.

My questions, I suppose, are:

  • Am I mistaken in believing that memcached be used in this manner and access by multiple systems?
  • How can I configure Symfony to access a memcached repository?

Thanks.

  • 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-05-15T04:09:35+00:00Added an answer on May 15, 2026 at 4:09 am

    This explains one approach fairly well (you don’t need the view cache stuff, just the second half about making a singleton available and configuring it):

    http://dev.esl.eu/blog/2009/06/05/memcached-as-singleton-in-symfony/

    edit: now 404, but still available here

    You can then use:

    sfMemcache::getInstance()->set()
    

    and

    sfMemcache::getInstance()->get()
    

    (same as the methods here as sfMemcache subclasses Memcache).

    As long as both apps point to the same memcache, you should be able to share data between them like this.

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

Sidebar

Related Questions

I am writing an application using Symfony. I have some reusable components that I
I have a Symfony 1.4 app using sfDoctrineGuardPlugin for users. I need to move
I have a Symfony task that generates some files calls exec to a jar
I am using Symfony 1.2 and I have some issues switching context. This code
I am using Symfony 1.4 and Propel as ORM. I have created a form
I am using Symfony 1.3 and I have the following problem: I need a
I have a test suite for phpunit for my symfony application. In that test
I have an application that I'm converting to Symfony/Doctrine. It currently stores a serialized
Good day, I have an application written using the Symfony framework. The application works
I have a Symfony app that populates the widgets of a portal application and

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.