denying access to a banned username
This WebDNA talk-list message is from 2002
It keeps the original formatting.
numero = 46498
interpreted = N
texte = 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][/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 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/
Associated Messages, from the most recent to the oldest:
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][/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 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/
Lester Emo
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:
[if] and [showif] - A solution (2002)
creating a ShipCosts database (1997)
Templates for Customer Database? (1997)
Country & Ship-to address & other fields ? (1997)
Too Much Rootbeer Free Offer (1997)
Problems appending to database (1997)
transferring values (1998)
WC 2.0 frames feature (1997)
Snake Bites (1997)
[lottaCopy] through SSL (1998)
choice of images (2000)
Forcing price recalculation in shopping cart (1998)
newcart (1997)
FW: Rollovers (1999)
Image Pirating [protecting against] (2003)
WC2.0 Memory Requirements (1997)
Just a thought (1998)
Not really WebCat (1997)
Separate SSL Server (1997)
quantity minimum problem (1997)