Print Page | Close Window

Determining user logged and limit posts

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=22278
Printed Date: 08 April 2026 at 10:29am
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Determining user logged and limit posts
Posted By: infiniteLoop
Subject: Determining user logged and limit posts
Date Posted: 27 December 2006 at 4:11am
Hi,
I have some general newbie questions:

First, how does the system determine if someone is logged in or not. I used the lngLoggedInUserID variable, and from my understanding, if you are not logged in it is 2, and if you are admin it is 1. But I'm not sure how is the rest of the numbers determined.

Second, is it possible to limit the number of posts someone can post per day? 5 posts in one hour doesnt seem discouraging enough.

Thanks.



Replies:
Posted By: WebWiz-Bruce
Date Posted: 27 December 2006 at 10:32am
1. No that is incorrect, if a person is not logged in they have lngLoggedInUserID of 2, any other number means they are logged in.

2. You should be able to use the food control to increase the time the user has to post 5 posts.

-------------
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