Jump to content

raoul

Members
  • Posts

    2
  • Joined

  • Last visited

Profile Information

  • Gender
    Not Telling
  • Location
    Paris, France

raoul's Achievements

Newbie

Newbie (2/6)

1

Reputation

  1. Hi Ryan, yes the environnement is a bit unusual due to scalabilty priorities: The architecture consist of a loadbalanced set of x slaves servers and one master (load balancer/ mysql director), each time you request the website you never know which slave server is handling the response, mysql handle that fine: one master which read/write and replicate on mysql slaves, so if you want to write and read right after, you better rw on the master due to replication delays. this mechanism is not existing for the filesystem, don't know if it's possible/usable in session usage. many thanks for your inputs, I think that I will do with my customs libraries afterall, and get back on processwire for the next project! because pw looks very promising
  2. Hi! I'm currently discovering Process Wire and i may encounter a blocking problem, preventing me to use pw : My server environnement doesn't allow me to store sessions in files, the only way to store sessions is in the database (clustered servers). I'm wondering how can I hook properly the wire session class, my options are: - hook the wire session class - hack the wire session class - attempt to ignore the wire session class and use my existing session class, and just hook/replace the login method - wait and pray? ( http://processwire.c...ts-of-sessions/ ) My level of OOP PHP is not so good my first attempt to hook failed: $this->session->addHookBefore('set', $this, 'set'); return this exception: Error Exception: Method Session::set is not hookable (in /htdocs/..../wire/core/Wire.php line 371) any advices welcome
×
×
  • Create New...