archived answer how to overwrite [username] and [password] (without authenticate dialog) not working for me. ?

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 33285
interpreted = N
texte = In the archives I found this:>> There must be a way to set the username and password using a form so the >> browser remembers it. >> Any suggestions would be appreciated.>I did it sucessfully using the following tricks: >1) login.html : create a form with field username and password >and an action pointing to redir1.tpl with method=post >2) on redir1.tpl put simply: >[redirect http://[username]:[password]@www.yoursite.com/redir2.tpl] >3) on redir2.tpl put the following meta tag in the header of the page: > >4) on protectedpage.tpl and following use the usual [protect groupname] tag > >I use it daily since I found it (and sent my trick to the list), >a few month ago. Works fine in both Explorer and Netscape in both >SSL and normal http. BriceBut I can't get this to work for me. When I display [username] and [password] on protectedpage.tmpl I see they both have a value of nothing. The only difference that I can see from what Brice said was working for him is that my URLs do not have www in them, and my pages are .tmpl, rather than .tpl. (Client insists on it since windoze can't do that) I know this may be a bit off topic, but could someone spare me some compassion? arrrrghh!!-John ------------------------------------------------------------- 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. archived answer how to overwrite [username] and [password] (without authenticate dialog) not working for me. ? (John Butler 2000)
In the archives I found this:>> There must be a way to set the username and password using a form so the >> browser remembers it. >> Any suggestions would be appreciated.>I did it sucessfully using the following tricks: >1) login.html : create a form with field username and password >and an action pointing to redir1.tpl with method=post >2) on redir1.tpl put simply: >[redirect http://[username]:[password]@www.yoursite.com/redir2.tpl] >3) on redir2.tpl put the following meta tag in the header of the page: > >4) on protectedpage.tpl and following use the usual [protect groupname] tag > >I use it daily since I found it (and sent my trick to the list), >a few month ago. Works fine in both Explorer and Netscape in both >SSL and normal http. BriceBut I can't get this to work for me. When I display [username] and [password] on protectedpage.tmpl I see they both have a value of nothing. The only difference that I can see from what Brice said was working for him is that my URLs do not have www in them, and my pages are .tmpl, rather than .tpl. (Client insists on it since windoze can't do that) I know this may be a bit off topic, but could someone spare me some compassion? arrrrghh!!-John ------------------------------------------------------------- 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/ John Butler

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:

WCS Newbie question (1997) $Replace with [founditems] (1997) More on the email templates (1997) Authentication Help (2000) carriage returns in data (1997) Snippet to calculate local time (2003) Re:Using WebMerchant Only? (1998) Setting Cart value (2000) Running 2 two WebCatalog.acgi's (1996) WebCat2 - [include] tags (1997) SHOWIF [var_with_backslash]^[value] (2002) Number searching/formats (1998) Email encryption (1998) AppleScript question (1997) To Use Cookies or Not To Use Cookies (2003) The future of WebCatalog is coming with 4.0... (2000) Spiders (1998) (slightly off) using menu and [search] (1998) WebCat2b13MacPlugIn - [include] (1997) more on my bbs (1997)