Re: Show items based on login Password
This WebDNA talk-list message is from 2003
It keeps the original formatting.
numero = 50816
interpreted = N
texte = On 5/31/03 9:30 AM, Alex McCombie
wrote:Oops...Never reply before caffeine. Damn I knew that too... Rookie mistake...;-)Alex>> I am setting up a site to be used in a production environment.>> I would like to have it show only items that correspond with a person's>> login and password.> Webcat 4.x code> Been in use without issue for well over a year.> > [showif [username]=][authenticate Partner's Area][/showif]> > [showif [username]!]> [search db=partners.db&eqUSERNAMEVARdatarq=[username]]> [showif [numfound]=0][authenticate Partner's Area][/showif]> [founditems]> [showif [index]=1]> [hideif [password]=[passwordvar]][authenticate Partner's Area][/hideif]> [/founditems][/search]> [/showif]> > > HTH> AlexAlex J McCombie New World MediaChief Information Officer Box 124888/892.6379 MartVille, NY 13111Alex@NewWorldMedia.com http://OurClients.comInterface Designer WebDNA Programmer Database Designer-------------------------------------------------------------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 5/31/03 9:30 AM, Alex McCombie wrote:Oops...Never reply before caffeine. Damn I knew that too... Rookie mistake...;-)Alex>> I am setting up a site to be used in a production environment.>> I would like to have it show only items that correspond with a person's>> login and password.> Webcat 4.x code> Been in use without issue for well over a year.> > [showif [username]=][authenticate Partner's Area][/showif]> > [showif [username]!]> [search db=partners.db&eqUSERNAMEVARdatarq=[username]]> [showif [numfound]=0][authenticate Partner's Area][/showif]> [founditems]> [showif [index]=1]> [hideif [password]=[passwordvar]][authenticate Partner's Area][/hideif]> [/founditems][/search]> [/showif]> > > HTH> AlexAlex J McCombie New World MediaChief Information Officer Box 124888/892.6379 MartVille, NY 13111Alex@NewWorldMedia.com http://OurClients.comInterface Designer WebDNA Programmer Database Designer-------------------------------------------------------------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/
Alex McCombie
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:
need help with [sendmail] and [showif]s (1998)
Snake Bites (1997)
Searching for Email Address (2004)
[WebDNA] php/mySQL version of WebDNA Speed Test? (2009)
why why why (2004)
WebCommerce: Folder organization ? (1997)
WebDNA Solutions ... sorry! (1997)
Need something like [listchars] ... (2000)
WebCatalog for guestbook ? (1997)
Searching multiple Databases (1997)
WebCat2b13MacPlugIn - More limits on [include] (1997)
SIMS setup (1998)
syntax question, not in online refernce (1997)
FoundItems Question (1998)
[numfound] within summ=t (2000)
WCS Newbie question (1997)
OS X Server & Uploads (2001)
[OT] RealMedia Host (2003)
Public beta 2 for WebCatalog 4.0 is now available. (2000)
how to deal with xml exported file (2007)