Automatic login to non SMF part of site

Started by templarart, February 14, 2017, 09:52:02 PM

Previous topic - Next topic

templarart

Hi.  I'm using your SSI.php for logins and registrations and I have a question.

Most of the time it works great but I've encountered this one hiccup.  I enter my site and it says that I'm not logged in.  I go to the forum part of the site and whooops - there I am.  It shows me my name and information.  I login at the forum (I'm in the login part of the site) and go to the main part of my site and it still doesn't see me.  I go back to the forum, logout, then login, go to my main site and bam - it sees me.  Is there something I'm missing?  Is there something I'm supposed to do for the site to see the SMF cookie and do an automatic login or what's the problem?

Thanks for your help.

Kindred

check:

Your smf cookies should be set to subdomain independent cookies (need to do this -- not local cookies)

what is your main site and how are you calling SSI?
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Advertisement: