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

This WebDNA talk-list message is from

2002


It keeps the original formatting.
numero = 44700
interpreted = N
texte = I just realized I may be getting off base here with these solutions . . .I'm trying to bring up different looking Somethings Wrong! type of pages when users don't login successfully using webcats browser based authorization.I'm not looking for missing pages in any of my cases. . . .I'm trying to show different pages in the BadPassword ErrorMessages.db line per different domain for the error as it happens within that particular domainin 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]]

Not Authorized!

[/showif]It seems to work OK with these 2 domains so far. I may need it on a few more . . . A javascript back button I had inside of my error.inc page wasn't behaving properly in netscape, although it behaved fine in IE . . . but I can do without a javascript kinda back button.Each domain and site has different look and feel, so I can't easily show a generic page after a bad username/password login attempt.Cookies are not wanted on these few sites, so that route isn't being pursued . . . Should I try something with [thisurl] instead??? But how and with what? I'm not looking for a page anywhere . . . At 08:27 AM 11/2/02 +1300, you wrote: >We do this in our errormessages.db. > >[showif [fileinfo file=/error.html][exists][/fileinfo]=T][redirect >/error.html][/showif] > >So this in the 'template not found' error and you can create individual >error files for each site and they will only be used if the exist. We;ve >been doing this for about a year now with perfect results .. > >Alain > >PS (Add this to the front of the current error) > > > > > On 11/1/02 1:37 PM, Clint Davis wrote: > > > >> What about this: > >> [getmimeheader host] > >> > >> Also hit and miss or will it work every time? > >> > > Hit and miss. > > > > The question I havent seen an answer to is whether the clients each have > > their own /dir/ in the url or are they all in the 'root' via mulithoming. > > > > If they are all in unique /dir/ then thisurl will work perfectly for your > > needs. > > Alex > > > > > > > > Alex J McCombie New World Media > > Chief Information Officer Drawer 607 > > 800/724.8973 Fair Haven, NY 13064 > > Alex@NewWorldMedia.com http://OurClients.com > > > > Interface 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://search.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://search.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://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)
I just realized I may be getting off base here with these solutions . . .I'm trying to bring up different looking Somethings Wrong! type of pages when users don't login successfully using webcats browser based authorization.I'm not looking for missing pages in any of my cases. . . .I'm trying to show different pages in the BadPassword ErrorMessages.db line per different domain for the error as it happens within that particular domainin 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]]

Not Authorized!

[/showif]It seems to work OK with these 2 domains so far. I may need it on a few more . . . A javascript back button I had inside of my error.inc page wasn't behaving properly in netscape, although it behaved fine in IE . . . but I can do without a javascript kinda back button.Each domain and site has different look and feel, so I can't easily show a generic page after a bad username/password login attempt.Cookies are not wanted on these few sites, so that route isn't being pursued . . . Should I try something with [thisurl] instead??? But how and with what? I'm not looking for a page anywhere . . . At 08:27 AM 11/2/02 +1300, you wrote: >We do this in our errormessages.db. > >[showif [fileinfo file=/error.html][exists][/fileinfo]=T][redirect >/error.html][/showif] > >So this in the 'template not found' error and you can create individual >error files for each site and they will only be used if the exist. We;ve >been doing this for about a year now with perfect results .. > >Alain > >PS (Add this to the front of the current error) > > > > > On 11/1/02 1:37 PM, Clint Davis wrote: > > > >> What about this: > >> [getmimeheader host] > >> > >> Also hit and miss or will it work every time? > >> > > Hit and miss. > > > > The question I havent seen an answer to is whether the clients each have > > their own /dir/ in the url or are they all in the 'root' via mulithoming. > > > > If they are all in unique /dir/ then thisurl will work perfectly for your > > needs. > > Alex > > > > > > > > Alex J McCombie New World Media > > Chief Information Officer Drawer 607 > > 800/724.8973 Fair Haven, NY 13064 > > Alex@NewWorldMedia.com http://OurClients.com > > > > Interface 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://search.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://search.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://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:

Multiple prices (1997) Another bug to squash (WebCat2b13 Mac .acgi) (1997) Append..... doesn't (2000) Test - Ignore (2004) [WebDNA] Problem running Webdna (2011) Re:Emailer and encryption (1997) Nested tags count question (1997) So many lookers, hey smith micro (2003) Show if time tags (1997) all records returned. (1997) shipcost (1997) RE: [redirect] w/o showing args? (1999) pretty Urgent: Crash after addlineitem (2001) ErrorMessages.db suggestion (1997) Items XX to XX shown (1997) shipping with weigth (1998) RE: creating writefile data from a nested search (1997) Separate SSL Server (1997) shownext example (2001) Hosting Services (1999)