News:

Want to get involved in developing SMF? Why not lend a hand on our GitHub!

Main Menu

SSI with a System that has it's own headers/session: SSI.php killing my session

Started by webchimp, July 26, 2011, 08:48:03 PM

Previous topic - Next topic

webchimp

Hello to everyone.
I have a question. I'm integrating SMF with my site as follows:

My users login to my system and i log them into SMF using smf_2_api.php. I log the this way:

smf_authenticateUser();
smf_loadSession();
smf_logOnline();


In the user dashboard, i want to show them the latest post, here im using SSI.php.
The problem i have is that when SSI.php is included, it causes problems with my already started session.

The information is displayed but the session is killed.
Once i move to another section in the site, i get to the login page because there is no session.

Is there a way to include the SSI in a system that already started session?

Advertisement: