Re: denying access to a banned username

This WebDNA talk-list message is from

2002


It keeps the original formatting.
numero = 46500
interpreted = N
texte = [showif [lookup db=^/e-info/Members.db&lookinField=user&value=[uppercase][username][/upperca se]&returnField=Status¬Found=OK]=Banned] [redirect error.tpl?cart=[cart]] [/showif]Brian-----Original Message----- From: WebCatalog Talk [mailto:WebDNA-Talk@talk.smithmicro.com]On Behalf Of Lester Emo Sent: Thursday, December 26, 2002 3:30 PM To: WebCatalog Talk Subject: denying access to a banned username 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 SuspendedI 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][/upperca se]&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][/upperca se]&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 are banned 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 suspendedAny ideas how I can achieve this using webcat and browser based authentication and my MemberChecker file like I now have?thankslester------------------------------------------------------------- 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/ ------------------------------------------------------------- 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:

    
  1. Re: denying access to a banned username (Lester Emo 2002)
  2. Re: denying access to a banned username (Gary Krockover 2002)
  3. Re: denying access to a banned username (Brian Boegershausen 2002)
  4. Re: denying access to a banned username (WJ Starck 2002)
  5. denying access to a banned username (Lester Emo 2002)
[showif [lookup db=^/e-info/Members.db&lookinField=user&value=[uppercase][username][/upperca se]&returnField=Status¬Found=OK]=Banned] [redirect error.tpl?cart=[cart]] [/showif]Brian-----Original Message----- From: WebCatalog Talk [mailto:WebDNA-Talk@talk.smithmicro.com]On Behalf Of Lester Emo Sent: Thursday, December 26, 2002 3:30 PM To: WebCatalog Talk Subject: denying access to a banned username 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 SuspendedI 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][/upperca se]&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][/upperca se]&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 are banned 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 suspendedAny ideas how I can achieve this using webcat and browser based authentication and my MemberChecker file like I now have?thankslester------------------------------------------------------------- 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/ ------------------------------------------------------------- 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/ Brian Boegershausen

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:

OT Cookie limit (2001) cookies OSX Jaguar IE5.2 (2002) calculating tax rates, mail order solutions and version 2 (1997) Webcat Security (1998) [WebDNA] WebDNA Roll Call (2013) Problems with ^ could be solved with [REPLACE CHARACTERS] (1997) foreign character sets and conversions (1998) [WebDNA] sem_open bugfix for os x version 6.2 (2012) Using Web* mail instead of Emailer? (1999) WCS Newbie question (1997) Google Web Accelerator (2005) [WebDNA] multi [sendmail] inside [search] (2012) Nested tags count question (1997) Listserver problem (1997) WebCat2final1 crashes (1997) Nesting format tags (1997) AddLineItem Problem (1997) [WriteFile] problems (1997) http upload (2001) Alternating colors (1997)