Re: denying access to a banned username
This WebDNA talk-list message is from 2002
It keeps the original formatting.
numero = 46502
interpreted = N
texte = What Brian just sent over has me thinking I could wrap the my authenticate code in MemberChecker within a showif and direct from thereI thought I tried that and it failed to do what I wanted, but I may have gotten sideswiped by something else . . .I'll give it a quick whirl.thankst 03:57 PM 12/26/02, you wrote:>[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 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][/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 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/>>>------------------------------------------------------------->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:
What Brian just sent over has me thinking I could wrap the my authenticate code in MemberChecker within a showif and direct from thereI thought I tried that and it failed to do what I wanted, but I may have gotten sideswiped by something else . . .I'll give it a quick whirl.thankst 03:57 PM 12/26/02, you wrote:>[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 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][/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 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/>>>------------------------------------------------------------->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/
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:
Generating Options for a Form. (1997)
[Semi-OT] Eaaaaaasy OSX FTP (2003)
Re:E-Mailer (WebCatb15acgiMac) (1997)
Close Databases Crash? (1998)
Is there an alternative to emailer? (1999)
XML Syntax, Cookies and Variables.... (2004)
Quick Question (1997)
Shipping formula problem (1997)
Make sure I understand this??? (1997)
Secure server question (1997)
My first ship table (1998)
[isfile] ? (1997)
[WebDNA] Store module/site (2012)
Multiple prices (1997)
MacOS alias identification? (1998)
WebCommerce: Folder organization ? (1997)
OT: Javascript Alert (2004)
RE: Nesting [ListFiles] (1998)
Cookies and WebCat?? (1999)
Speed Test Results Dell 2650 Xeon 2.4ghz (2002)