Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion sfCacheSessionStorage and sfSessionStorage Issue
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Mukesh Sharma  
View profile  
 More options Sep 28 2012, 5:57 am
From: Mukesh Sharma <cogentmuk...@gmail.com>
Date: Fri, 28 Sep 2012 02:57:27 -0700 (PDT)
Local: Fri, Sep 28 2012 5:57 am
Subject: sfCacheSessionStorage and sfSessionStorage Issue

Hi All,

I am using sfCacheSessionStorage to configure memcached in my application,
But having this my session is not working fine. I am not able to Sign In my
App.
When I commented out the sfCacheSessionStorage settings in factories.yml
then it is working fine.

I googled the problem but and found that sfCacheSessionStorage doesn't
handle $_SESSION. I want memcached and session both.

Any help is very much appreciated.

My factories.yml looks like this:

  storage:
    class: sfCacheSessionStorage
    param:
      auto_start: true
      session_name: symfony #[required] name of session to use
      session_cookie_path: / #[required] cookie path
      session_cookie_domain: mysite.com #[required] cookie domain
      session_cookie_lifetime: 2592000 #[required] liftime of cookie
      session_cookie_secure: false #[required] send only if secure
connection
      session_cookie_http_only: true #[required] accessible only via http
protocol
      cache:
        class: sfMemcacheCache #[required] define the cache strategy
        param:
          automatic_cleaning_factor: 0
          lifetime: 86400
          prefix:  memcachesess_
          servers: # Array of servers
            localserver:
              host: mysite-app2 # hostname or IP of mamcache server
              port: 11211 # default memcache port
              persistent: true
  storage:
    class: sfSessionStorage
    param:
      auto_start: true
      session_name: symfony #[required] name of session to use
      session_cookie_path: / #[required] cookie path
      session_cookie_domain: mysite.com #[required] cookie domain
      session_cookie_lifetime: 2592000 #[required] liftime of cookie
      session_cookie_secure: false #[required] send only if secure
connection
      session_cookie_http_only: true #[required] accessible only via http
protocol

Regards,
Mukesh


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.