We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 24719
    • 194 Posts
    hi,

    i think i’ve read in the past that the xpdo core of 0.9.7 will allow for session data to be stored in a database, allowing modx to be used in a distributed server environment.

    looking through the code, it seems $_SESSION is still being used.

    will this be replaced by a dedicated set of methods that will handle setting and getting session data, or will users be encouraged to write custom functions and call php’s session_set_save_handler instead?

    if it’s the latter, are there any limitations on doing this for 0.9.6?

    thanks
    • It still uses $_SESSION, it just stores it to the database via session_set_save_handler. This is the default behavior in 0.9.7.

      I tried doing this for 0.9.6, but it became very complicated and turned out to be more trouble that it was worth (for me anyway).
        • 24719
        • 194 Posts
        ok, thanks