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:

Customizing WebDelivery.html (1998) Webcat2, WebCommerce, Mod 10 etc. (1997) Bad match! (2002) Email notification to one of multiple vendors ? (1997) WebCat editing, SiteGuard WAS:SiteAssociative lookup style? (1997) Search design (1997) Format date.... (2003) Question re: FlushDatabases (1997) Search in 2 or more catalogs (1997) WebCatalog Upgrade Pricing? (1997) Overridding E-Mailer (1998) check out page (SSL) not loading on Netscape 4.0+ - fixed? (1999) Email Mac (2002) ooops...WebCatalog [FoundItems] Problem - LONG - (1997) greater than or equal to (1997) Waitforfile question (2004) Sorting Orders (1997) Limiting user access to .tmpl files (1997) [WriteFile] problems (1997) free "Image Viewer" widget (2004)