Re: Setting user/password with a form.

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 29421
interpreted = N
texte = From: Marc > I'd like to set the Username and password using a form instead of the > realm dialog. I can't seem to find anything in HTML4 literature > anywhere. Is this a task that Webcatalog can handle? > I setup a (custom)users.db and when I use the form to access a page it > works fine, but I want all my pages to be protected. After the first > page all proceeding pages give me a unknown user. > > To get around this i set a cookie to with username and password, but > this seems to be a work around and is not functioning as well as I would > like. > 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] tagI 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. Brice -- Brice Le Blevennec, Digerati, ListDad, Ex Machina Interactive Architects S.A., Ex Nihilo Uno S.A. & Ex Machina Graphic Design S.P.R.L. Ex Machina Television SPRL NetBusiness S.A. ContactOffice ------------------------------------------------------------- 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 Associated Messages, from the most recent to the oldest:

    
  1. Re: Setting user/password with a form. (Kenneth Grome 2000)
  2. Re: Setting user/password with a form. (Clement Ross 2000)
  3. Re: Setting user/password with a form. (Mike Davis 2000)
  4. Re: Setting user/password with a form. (Brice Le Blevennec 2000)
  5. Re: Setting user/password with a form. (jpeacock@univpress.com 2000)
  6. Setting user/password with a form. (Marc 2000)
From: Marc > I'd like to set the Username and password using a form instead of the > realm dialog. I can't seem to find anything in HTML4 literature > anywhere. Is this a task that Webcatalog can handle? > I setup a (custom)users.db and when I use the form to access a page it > works fine, but I want all my pages to be protected. After the first > page all proceeding pages give me a unknown user. > > To get around this i set a cookie to with username and password, but > this seems to be a work around and is not functioning as well as I would > like. > 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] tagI 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. Brice -- Brice Le Blevennec, Digerati, ListDad, Ex Machina Interactive Architects S.A., Ex Nihilo Uno S.A. & Ex Machina Graphic Design S.P.R.L. Ex Machina Television SPRL NetBusiness S.A. ContactOffice ------------------------------------------------------------- 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 Brice Le Blevennec

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:

Summing fields (1997) Weird problems with [SHOWIF]s (1997) RE: E-mailer error codes (1997) move files (2000) Question about replacing words (1998) Help! Missing [showif] or [hideif] (2000) WebDNA Solutions ... (1997) Don't tick me off :) [elaspedtime] (1997) [WebDNA] El Capitan (2017) WC2b15 File Corruption (1997) showing *all* name/value pairs with [search] (2003) (ot) sitemap generator (1998) [DOS]/DOS query - A SOLUTION (2003) (1997) date display (1999) Signal Raised (1997) WebCat2b15MacPlugin - [protect] (1997) Problems with date math (1997) encryption in browser? NOT (1998) WebDelivery (1998)