All my forums are allowed members list (hidden). I control which forum a user has access to based on a new field I have added to the forum_members table - an organization code. A new table maps which forum each organization has access to. When the user registers, I auto. update the forum_allowed_members to give them forum access based on their org. code.
If a user changes their organization in their profile, I automatically update the forum_allowed_members table with any new or removed forums (pop_profile.asp) as well. But after the profile is updated and the user returns to the forums, the original forums are still there.
Where is the forum access set for a user once they log in?
Log in as user. Have access to 3 forums. Change the profile (pop_profile.asp) and this page updates the allowed_members table so that I only ahve access to 2 forums. Click the Submit button; get profile updated message and then returned to default.asp where 3 forums are still showing.
I think the forum access is established by session variables? when login in occurs but i'm not sure how to call and update to refresh the session variables.
Session variable strCookieURL & "AllowedForums" & MemberID is set in function isAllowedMember and OldisAllowedMember (inc_func_common.asp), that are called from chkForumAccessNew and chkForumAccess (both in inc_func_secure), which are called from the pages being viewed.
wow .. thanks for such a quick reply. I'll get busy.
BTW, can you tell me why you don't allow subscriptions to topics in your SNITZ forum? I've noticed (but haven't spent a great deal of time reading in detail) several posts about response time and spam issues with subscriptions - is this something you recommend staying away from?