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 [lookupdb=^/e-info/Members.db&lookinField=user&value=[uppercase][username][/uppercase]&returnField=Status¬Found=OK]=Banned][redirect error.tpl?cart=[cart]][/showif]Brian-----Original Message-----From: WebCatalog Talk [mailto:WebDNA-Talk@talk.smithmicro.com]On BehalfOf Lester EmoSent: Thursday, December 26, 2002 3:30 PMTo: WebCatalog TalkSubject: denying access to a banned usernameI need to deny access to a user if they have been banned or suspendedfrom using a message board. I have a field in my members database thatshows wheter they are OK Banned or SuspendedI use webcat and browser-based authentication for access to the site andaccessto postings etc.This is my MemberChecker file used when accessing the site:[!] check for user in members.db [/!][showif NotFound=[lookupdb=^/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][lookupdb=^/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 tothis Welcome page. I need to prevent them from posting if they are bannedor 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 regardlessof being banned or suspendedAny ideas how I can achieve this using webcat and browser basedauthentication 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 toWeb 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:
[showif [lookupdb=^/e-info/Members.db&lookinField=user&value=[uppercase][username][/uppercase]&returnField=Status¬Found=OK]=Banned][redirect error.tpl?cart=[cart]][/showif]Brian-----Original Message-----From: WebCatalog Talk [mailto:WebDNA-Talk@talk.smithmicro.com]On BehalfOf Lester EmoSent: Thursday, December 26, 2002 3:30 PMTo: WebCatalog TalkSubject: denying access to a banned usernameI need to deny access to a user if they have been banned or suspendedfrom using a message board. I have a field in my members database thatshows wheter they are OK Banned or SuspendedI use webcat and browser-based authentication for access to the site andaccessto postings etc.This is my MemberChecker file used when accessing the site:[!] check for user in members.db [/!][showif NotFound=[lookupdb=^/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][lookupdb=^/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 tothis Welcome page. I need to prevent them from posting if they are bannedor 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 regardlessof being banned or suspendedAny ideas how I can achieve this using webcat and browser basedauthentication 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 toWeb 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)