Re: [showif],[referer],[include] in errormessages.db

This WebDNA talk-list message is from

2002


It keeps the original formatting.
numero = 44710
interpreted = N
texte = Trying the approach below . . . I need to remove the / to get any passable results[showif [fileinfo file=loginerror.tpl][exists][/fileinfo]=T][redirect loginerror.tpl][/showif]BUT this won't work with my browser based webcat authorization scheme at all it seems.It goes right to the loginerror.tpl page without any username/password dialog box popping up at all. No chance to enter a bad password Happens the same way in IE and Netscape . . .My earlier solution below, as cumbersome as it might become over time, seems to behave. At 09:14 AM 11/2/02 +1300, you wrote: >This not a very scalable solution .. What happens when you have 100 sites >that need custom messages .. >You are better off adapting my earlier post. > >[showif [fileinfo file=/loginerror.html][exists][/fileinfo]=T][redirect >/loginerror.html][/showif] > >Then you only have one entry and never need to modify the errormessages.db >for each site. If a site needs a custom error on 'bad password' just create >the file above. >Alain > > > > > > in my ErrorMessages.db: > > > > BadPassword [showif > > [url][referrer][/url]^[url]windycitywebmasters.com[/url]][include > > file=error.inc][/showif][showif > > [url][referrer][/url]^[url]kwasi.com[/url]] > bgcolor=#FFFFFF>

Not > > Authorized!

[/showif] > > ------------------------------------------------------------- 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://search.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: [showif],[referer],[include] in errormessages.db (Lester Emo 2002)
  2. Re: [showif],[referer],[include] in errormessages.db (Alain Russell 2002)
  3. Re: [showif],[referer],[include] in errormessages.db (Lester Emo 2002)
Trying the approach below . . . I need to remove the / to get any passable results[showif [fileinfo file=loginerror.tpl][exists][/fileinfo]=T][redirect loginerror.tpl][/showif]BUT this won't work with my browser based webcat authorization scheme at all it seems.It goes right to the loginerror.tpl page without any username/password dialog box popping up at all. No chance to enter a bad password Happens the same way in IE and Netscape . . .My earlier solution below, as cumbersome as it might become over time, seems to behave. At 09:14 AM 11/2/02 +1300, you wrote: >This not a very scalable solution .. What happens when you have 100 sites >that need custom messages .. >You are better off adapting my earlier post. > >[showif [fileinfo file=/loginerror.html][exists][/fileinfo]=T][redirect >/loginerror.html][/showif] > >Then you only have one entry and never need to modify the errormessages.db >for each site. If a site needs a custom error on 'bad password' just create >the file above. >Alain > > > > > > in my ErrorMessages.db: > > > > BadPassword [showif > > [url][referrer][/url]^[url]windycitywebmasters.com[/url]][include > > file=error.inc][/showif][showif > > [url][referrer][/url]^[url]kwasi.com[/url]] > bgcolor=#FFFFFF>

Not > > Authorized!

[/showif] > > ------------------------------------------------------------- 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://search.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:

Test (2007) Writing to disk (1999) Secure server question (1997) [isfile] ? (1997) [Price] (1997) Summ=T Problem (1997) TABLE (2003) Too Much Rootbeer Free Offer (1997) Just Testing (1997) Duplicate Carts (2000) WebCat2b13MacPlugin - [math][date][/math] problem (1997) [url] link (1998) [OT] Mystery Autoreply (2004) Sorting Numbers (1997) How do I send a 404 HTTP header ? (2004) WebSTAR 2.1 freezes my Mac (1997) # of real domains on 1 web server (1997) Allow-Deny: Solved with [Getchars] (1998) Fun with dates (1997) carriage returns in data (1997)