Re: The Form authentication trick

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 35458
interpreted = N
texte = comes from theprotected.html accrding to the Brice's explanation the values enterd in the form on the first page should satisfy the [authenticate] tag on that protected page.thanksOn Mon, 31 Jul 2000, John Butler wrote:> wait a minute... > > You said if you relaunch NN, then try logging in w/proper valid values, then you get to the logon2.html > and then the protected.html pops up the window? So you are actually making it *past* the page you > reference below called page #3: logon2.html? Is the ugly dialog coming from an [authenticate] in page > #3: logon2.html, or from protected.html? > > Kalin Mintchev wrote: > > > thanks John > > > > ok > > > > yes to both sections: > > it pops the ugly window every time now. > > i restarted the NN (and i'm on mac too ) it doesn't let me in at all. > > if enter i wrong password and username it brings me back to the > > page1.html, but when i enter real ones i do get to the logon2.html and > > then the protected.html pops up the window. > > same like last nite. > > any ideas? > > > > thanks > > > > On Mon, 31 Jul 2000, John Butler wrote: > > > > > > > > > > Kalin Mintchev wrote: > > > > > > this is what i do: > > > > page #1: > > > > form with input names password and username, action=logon1.html. > > > > page #2: logon1.html > > > > [showif NotFound=[lookup > > > > db=/db/db.db&lookinField=user&value=[username]&returnField=user¬Found=NotFound]] > > > > [redirect page1.html] > > > > [/showif] > > > > [showif [password]![lookup > > > > db=/db/db.db&lookinField=user&value=[username]&returnField=pass¬Found=NotFound]] > > > > [redirect page1.html] > > > > [/showif] > > > > [search > > > > db=/db/db.db&groupsword=ww&wogroupsdatarq=[groups]&equserdatarq=[username]&eqpassdatarq=[password]] > > > > [showif [numFound]=0] > > > > [redirect page1.html] > > > > [/showif] > > > > [/search] > > > > [redirect > > > > http://[encrypt][username]:[password][/encrypt]@www.mysite.com/login2.html] > > > > > > > > page #3: logon2.html > > > > in the header: > > > > > > > HTTP-EQUIV=REFRESH CONTENT=0;URL=http://www.mysite/protected.html> > > > > the protected page has this in it: > > > > [showif NotFound=[lookup > > > > db=/db/db.db&lookinField=user&value=[username]&returnField=user¬Found=NotFound]] > > > > [authenticate Unauthorized User] > > > > [/showif] > > > > [showif [password]![lookup > > > > db=/db/db.db&lookinField=user&value=[username]&returnField=pass¬Found=NotFound]] > > > > [authenticate Unauthorized User] > > > > [/showif] > > > > [search > > > > db=/db/db.db&groupsword=ww&wogroupsdatarq=[groups]&equserdatarq=[username]&eqpassdatarq=[password]] > > > > [showif [numFound]=0] > > > > [authenticate Unauthorized User] > > > > [/showif] > > > > [/search] > > > > > > > > so when i put real username and passwrd in page1.html i reach login2.html > > > > and then the ugly dialog box shows up. > > > > it never shows me the protected.html. > > > > if i enter the password and username again there everything is ok > > > > > > > > any comment will be helpful. > > > > thanks. > > > ------------------------------------------------------------- > 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: The Form authentication trick (John Butler 2000)
  2. Re: The Form authentication trick (Kenneth Grome 2000)
  3. Re: The Form authentication trick (John Butler 2000)
  4. Re: The Form authentication trick (Glenn Busbin 2000)
  5. Re: The Form authentication trick (Kalin Mintchev 2000)
  6. Re: The Form authentication trick (ShrPAUL1@aol.com 2000)
  7. Re: The Form authentication trick (Kalin Mintchev 2000)
  8. Re: The Form authentication trick (John Butler 2000)
  9. Re: The Form authentication trick (Kalin Mintchev 2000)
  10. Re: The Form authentication trick (Kalin Mintchev 2000)
  11. Re: The Form authentication trick (Webcat 2000)
  12. Re: The Form authentication trick (John Butler 2000)
  13. Re: The Form authentication trick (Kalin Mintchev 2000)
  14. Re: The Form authentication trick (Kalin Mintchev 2000)
  15. Re: The Form authentication trick (Kalin Mintchev 2000)
  16. Re: The Form authentication trick (John Butler 2000)
  17. Re: The Form authentication trick (Kalin Mintchev 2000)
  18. Re: The Form authentication trick (John Butler 2000)
  19. Re: The Form authentication trick (Kalin Mintchev 2000)
  20. Re: The Form authentication trick (John Peacock 2000)
  21. Re: The Form authentication trick (Bob Minor 2000)
  22. Re: The Form authentication trick (John Butler 2000)
  23. Re: The Form authentication trick (Kalin Mintchev 2000)
  24. Re: The Form authentication trick (Brice Le Blevennec 2000)
  25. Re: The Form authentication trick (John Butler 2000)
  26. Re: The Form authentication trick (Kenneth Grome 2000)
  27. Re: The Form authentication trick (John Butler 2000)
  28. Re: The Form authentication trick (Kenneth Grome 2000)
  29. Re: The Form authentication trick (John Butler 2000)
  30. The Form authentication trick (Brice Le Blevennec 2000)
comes from theprotected.html accrding to the Brice's explanation the values enterd in the form on the first page should satisfy the [authenticate] tag on that protected page.thanksOn Mon, 31 Jul 2000, John Butler wrote:> wait a minute... > > You said if you relaunch NN, then try logging in w/proper valid values, then you get to the logon2.html > and then the protected.html pops up the window? So you are actually making it *past* the page you > reference below called page #3: logon2.html? Is the ugly dialog coming from an [authenticate] in page > #3: logon2.html, or from protected.html? > > Kalin Mintchev wrote: > > > thanks John > > > > ok > > > > yes to both sections: > > it pops the ugly window every time now. > > i restarted the NN (and i'm on mac too ) it doesn't let me in at all. > > if enter i wrong password and username it brings me back to the > > page1.html, but when i enter real ones i do get to the logon2.html and > > then the protected.html pops up the window. > > same like last nite. > > any ideas? > > > > thanks > > > > On Mon, 31 Jul 2000, John Butler wrote: > > > > > > > > > > Kalin Mintchev wrote: > > > > > > this is what i do: > > > > page #1: > > > > form with input names password and username, action=logon1.html. > > > > page #2: logon1.html > > > > [showif NotFound=[lookup > > > > db=/db/db.db&lookinField=user&value=[username]&returnField=user¬Found=NotFound]] > > > > [redirect page1.html] > > > > [/showif] > > > > [showif [password]![lookup > > > > db=/db/db.db&lookinField=user&value=[username]&returnField=pass¬Found=NotFound]] > > > > [redirect page1.html] > > > > [/showif] > > > > [search > > > > db=/db/db.db&groupsword=ww&wogroupsdatarq=[groups]&equserdatarq=[username]&eqpassdatarq=[password]] > > > > [showif [numFound]=0] > > > > [redirect page1.html] > > > > [/showif] > > > > [/search] > > > > [redirect > > > > http://[encrypt][username]:[password][/encrypt]@www.mysite.com/login2.html] > > > > > > > > page #3: logon2.html > > > > in the header: > > > > > > > HTTP-EQUIV=REFRESH CONTENT=0;URL=http://www.mysite/protected.html> > > > > the protected page has this in it: > > > > [showif NotFound=[lookup > > > > db=/db/db.db&lookinField=user&value=[username]&returnField=user¬Found=NotFound]] > > > > [authenticate Unauthorized User] > > > > [/showif] > > > > [showif [password]![lookup > > > > db=/db/db.db&lookinField=user&value=[username]&returnField=pass¬Found=NotFound]] > > > > [authenticate Unauthorized User] > > > > [/showif] > > > > [search > > > > db=/db/db.db&groupsword=ww&wogroupsdatarq=[groups]&equserdatarq=[username]&eqpassdatarq=[password]] > > > > [showif [numFound]=0] > > > > [authenticate Unauthorized User] > > > > [/showif] > > > > [/search] > > > > > > > > so when i put real username and passwrd in page1.html i reach login2.html > > > > and then the ugly dialog box shows up. > > > > it never shows me the protected.html. > > > > if i enter the password and username again there everything is ok > > > > > > > > any comment will be helpful. > > > > thanks. > > > ------------------------------------------------------------- > 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/ Kalin Mintchev

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:

Locking up with WebCatalog... (1997) code to phantom spacing (2001) too many nested [xxx] (1997) Protect vs Authenicate (1997) [shell] (2005) WebCommerce: Folder organization ? (1997) ANother SHOWIF problem (1997) WebCat2: multiple currency support (1997) [WebDNA] FastCGI version confusion (2011) WebCat2.0 [format thousands .0f] no go (1997) [Announce] Newest Commerce Site based on WebCatalog (1997) founditems / writefile (2005) View Source from cache (1997) [OT] Mac Browser Performance Tips (1999) Trigger problem (2003) Decrypting a user password (2000) Posting form data to a popup (2004) WebCatalog for Postcards ? (1997) Plugin or CGI or both (1997) Problems problems problems (1997)