Print Page | Close Window

[Suggestion] for Member API

Printed From: Web Wiz Forums
Category: Web Wiz Web App Support Forums
Forum Name: Web Wiz Forums
Forum Description: Support forum for Web Wiz Forums application.
URL: https://forums.webwiz.net/forum_posts.asp?TID=25331
Printed Date: 04 April 2026 at 1:53am
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: [Suggestion] for Member API
Posted By: GottaLoveIT
Subject: [Suggestion] for Member API
Date Posted: 22 February 2008 at 6:58pm

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. 




Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net