Advertisement:

Author Topic: SMF *destroys* the other variables stored in the session  (Read 2046 times)

Offline euthymos

  • Newbie
  • *
  • Posts: 6
SMF *destroys* the other variables stored in the session
« on: June 03, 2007, 10:16:42 AM »
Dear SMF users,

in my website, I use PHP sessions to store data.

But if the user enters into the SMF forum, all the data stored in his session is COMPLETELY DESTROYED, so that when the user exits the forum, that data cannot be recalled by the PHP pages of my website. Why? Is there any way to prevent this?
« Last Edit: June 03, 2007, 05:50:59 PM by BlackMage »

Offline euthymos

  • Newbie
  • *
  • Posts: 6
Re: SMF *destroys* the other variables stored in the session
« Reply #1 on: June 03, 2007, 10:31:43 AM »
Solved disabling database sessions (=evil)

Offline karlbenson

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 15,630
  • Gender: Male
    • Lifeproof
Re: SMF *destroys* the other variables stored in the session
« Reply #2 on: June 03, 2007, 10:34:57 AM »
I think you can do it by going to
Admin > Server Settings > Feature Configuration > Enable local storage of cookies >
Check on

Use subdomain independent cookies
Check Off

I may be wrong.