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.

Session Save Path

January 29, 2015 8:22am

Subscribe [1]
  • #1 / Jan 29, 2015 8:22am

    e-finity

    22 posts

    Hello,

    I have a template group named ‘SignUp’.

    When ever I create a session on a template within this group the cookie path is: /signup

    All other session cookies created within other templates / template groups have the path: /

    This is causing sessions created within this group to be unavailable to other groups and vice versa.

    It’s also extremely annoying and has taken me about 3 hours to work out.

    I’ve not seen this before, does anyone know why this might be.

    session.save_path is set to /tmp

    Thanks

  • #2 / Jan 29, 2015 10:19am

    e-finity

    22 posts

    Fixed this using session_set_cookie_params but couldn’t find anything in the EE docs to change this.

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

ExpressionEngine News!

#eecms, #events, #releases