ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Why can you not store session data with EE's session class?

November 06, 2012 8:26pm

Subscribe [2]
  • #1 / Nov 06, 2012 8:26pm

    96black

    26 posts

    Hi guys,
    I note ExpressionEngine overrides the CI session class and removes some functionality like the set_userdata() method. I’m having a really hard time trying to understand why such a fundamental part of the sessions class has been removed? In fact there isn’t a mechanism to add any information to the session at all based on what I can see in the EE_Session class.

    I’m stuck having to revert back to using php sessions to store some information between pages… which I’m not very keen on.

    Even reading the documentation, a means to add information to the session is never addressed, as if it’s strange that someone would want to do that.

    Has anyone explained why this is the case? I haven’t had much luck finding any answers from Ellislab in Google.

    Thanks guys.

  • #2 / Nov 07, 2012 4:46pm

    Dan Decker

    7338 posts

    Hi 96black,

    I followed up with you in this thread. Let’s keep our focus on this thread here so we don’t get our wires crossed.

    Cheers,

  • #3 / Nov 07, 2012 9:43pm

    96black

    26 posts

    Sure thing. Thanks Dan.

  • #4 / Nov 08, 2012 3:22pm

    Shane Eckert

    7174 posts

    Hey 96,

    Awesome!

    Closing off thread.

    Cheers,

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases