Re: Setting user/password with a form.

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 29429
interpreted = N
texte = on 3/21/2000 7:07 PM, Brice Le Blevennec at brice@exmachina.be wrote:> 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: > CONTENT=0;URL=http://www.yoursite.com/protectedpage.tpl> > 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. BriceI can't tell you how much this came perfectly timed with a project I'm working on. I just got off the phone with a client telling him the we would have to go with standard authentication and was ready to start in on it. Whew. Great problem solver. Question: why is the redir2.tpl page necessary? what happens if you redirect out of the first page straight to the protected page?Mike ------------------------------------------------------------- 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)
on 3/21/2000 7:07 PM, Brice Le Blevennec at brice@exmachina.be wrote:> 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: > CONTENT=0;URL=http://www.yoursite.com/protectedpage.tpl> > 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. BriceI can't tell you how much this came perfectly timed with a project I'm working on. I just got off the phone with a client telling him the we would have to go with standard authentication and was ready to start in on it. Whew. Great problem solver. Question: why is the redir2.tpl page necessary? what happens if you redirect out of the first page straight to the protected page?Mike ------------------------------------------------------------- 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 Mike Davis

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:

Sandbox Script (2003) [referrer] tag (1997) WebCatalog sales (1997) Enhancement Request for WebCatalog-NT (1996) Dynamic Pop up menu? (1997) Find one not all, code not working (2003) Emailer Problem (1999) about this server and links to who (1997) upgrade? (1997) WebCatalog2 Feature Feedback (1996) question: webmerchant connection (1997) Date Time Oddness (1999) Kaaaaahhhhhhhnnnnnnn! (1997) Mac app. that converts e-mails (2000) Post arguments problem mac? (1997) Multiple edits/replacementsd to db. Possible? (1997) WebDNA Intranet Edition release (2002) ShowIf & HideIf Question? (1998) Monthly Reports (2000) More on the email templates (1997)