I am using V 9.08.
We have strict site control and our main site logs a user out if they close the browser. However, when opening the site again, the Forum was still logged in. In tracking this down, I noticed in the Member API Functions file, at the end, you have these 2 cookie settings:
Call setCookie("sLID", "UID", strNewUserCode, True) Call setCookie("sLID", "NS", "0", True)
|
I changed them to:
Call setCookie("sLID", "UID", strNewUserCode, bolMemberApiAutoLogin) Call setCookie("sLID", "NS", "0", bolMemberApiAutoLogin)
|
And then after the:
Const strMemberAPILogoutURL = "/logout.asp"
|
and before the:
'****************************************************************************************
|
I added:
'Enable or disable auto login when user returns '------------------------------------------ 'Set to True if you want the Forum to be logged in automatically when user returns, even if user 'is not logged in to your main authentication. Set to False if you do not want user automatically logged in.
Const bolMemberApiAutoLogin = "False
|
This fixed the problem.