Print Page | Close Window

Just a questions

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=6608
Printed Date: 03 April 2026 at 6:04pm
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Just a questions
Posted By: Pose 69
Subject: Just a questions
Date Posted: 21 October 2003 at 11:29am

i just downloaded WWF 7.5, and i want
to use the users table in all over the site,
and block some parts of the site only for logged in users

but, i dont know how to check if user is logged.
i tried to check :

if intGroupID = 2 then
     ' user is not logged
Else
     ' user is logged
end if

and its work, but i don't sure that this is the correct way
and if it safe and nobody can cheat.

I hope that you understand what i mean,
i know my english is so bad, but i tried to explain myself
as good as i could

thanks




Replies:
Posted By: WebWiz-Bruce
Date Posted: 21 October 2003 at 1:31pm
That would work as non logged in or suspended users are in group ID 2. (2 being the guest user group).

-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting



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