Re: denying access to a banned username
This WebDNA talk-list message is from 2002
It keeps the original formatting.
numero = 46501
interpreted = N
texte = On the Welcome [user] page, can you do a quick lookup to see the status,and if banned or suspended, [redirect] them to an information pageexplaining the situation?GK| I need to deny access to a user if they have been banned or suspended| from using a message board. I have a field in my members database that| shows wheter they are OK Banned or Suspended|| I use webcat and browser-based authentication for access to the site and| accessto postings etc.|| This is my MemberChecker file used when accessing the site:|| [!] check for user in members.db [/!]| [showif NotFound=[lookup|db=^/e-info/Members.db&lookinField=user&value=[uppercase][username][/uppercase]&returnField=user¬Found=NotFound]]| [authenticate e-Info Access]| [/showif]|| [!] Check password of user in members.db [/!]| [showif|[url][encrypt][uppercase][password][/uppercase][/encrypt][/url]![url][lookup|db=^/e-info/Members.db&lookinField=user&value=[uppercase][username][/uppercase]&returnField=pass¬Found=NotFound][/url]]| [authenticate e-Info Access]| [/showif]|| After authentication they are passed to a Welcome [user] page.|| All works well . . . .|| I would like to tell them they are banned or suspended when they get to| this Welcome page. I need to prevent them from posting if they arebanned| or suspended, but I do want to tell them they are . . . Thats my problem.|| When I authenticate them they are able to use all the features regardless| of being banned or suspended|| Any ideas how I can achieve this using webcat and browser based| authentication and my MemberChecker file like I now have?|||| thanks|| lester-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list
.To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/
Associated Messages, from the most recent to the oldest:
On the Welcome [user] page, can you do a quick lookup to see the status,and if banned or suspended, [redirect] them to an information pageexplaining the situation?GK| I need to deny access to a user if they have been banned or suspended| from using a message board. I have a field in my members database that| shows wheter they are OK Banned or Suspended|| I use webcat and browser-based authentication for access to the site and| accessto postings etc.|| This is my MemberChecker file used when accessing the site:|| [!] check for user in members.db [/!]| [showif NotFound=[lookup|db=^/e-info/Members.db&lookinField=user&value=[uppercase][username][/uppercase]&returnField=user¬Found=NotFound]]| [authenticate e-Info Access]| [/showif]|| [!] Check password of user in members.db [/!]| [showif|[url][encrypt][uppercase][password][/uppercase][/encrypt][/url]![url][lookup|db=^/e-info/Members.db&lookinField=user&value=[uppercase][username][/uppercase]&returnField=pass¬Found=NotFound][/url]]| [authenticate e-Info Access]| [/showif]|| After authentication they are passed to a Welcome [user] page.|| All works well . . . .|| I would like to tell them they are banned or suspended when they get to| this Welcome page. I need to prevent them from posting if they arebanned| or suspended, but I do want to tell them they are . . . Thats my problem.|| When I authenticate them they are able to use all the features regardless| of being banned or suspended|| Any ideas how I can achieve this using webcat and browser based| authentication and my MemberChecker file like I now have?|||| thanks|| lester-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/
Gary Krockover
DOWNLOAD WEBDNA NOW!
Top Articles:
Talk List
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...
Related Readings:
Separate SSL Server (1997)
WC Database Format (1997)
Multiple Pulldowns (1997)
Weird problems with [SHOWIF]s (1997)
Banners (1997)
EmailCompleted Clean Up (2001)
Setting up shop (1997)
webdelivery.tmpl???? (1997)
I assume it is a safe bet this does not help (1998)
Searching multiple Databases (1997)
[SearchString] problem with [search] context (1997)
Apache2 connector (2003)
[OT] Puget Sound Meteorites? (2004)
[WriteFile] problems (1997)
Reversed words (1997)
Global replace (2000)
WebCatalog can't find database (1997)
WebCat2 several catalogs? (1997)
Narrowing NT Crashing error (2000)
WC1.6 to WC2 date formatting (1997)