Re: Logging users

This WebDNA talk-list message is from

1998


It keeps the original formatting.
numero = 19008
interpreted = N
texte = On 7/22/98 12:23 AM Terry Wilson wrote >I'd like to create a log using the [appendfile] context every time a user >successfully goes through the authentication dialog box. I have an >[include]ed custom checker file set up as recommended some time ago here >on the list. When I put the [appendfile] context immediately before >[authenticate user], I do get the log entry, but without the username >(naturally). If I put it after the [authenticate] and before the [/showif], >nothing happens at all. Where can I put the [appendfile] context so it >doesn't register the billion times the user hits a page during his session, >but only the one time he logs in? Seems so simple... On the page they login to. Pass along a value that only the initial login sees, ie trigger=1 all other hits to this page wont see it.yes/no I have other solutions.Robert Minor _________________________________________________________________________ Cybermill Communications webmaster@cybermill.com 8616 Joseph Ave. http://www.cybermill.com St. Louis, MO 63144 (314) 962-4024 _________________________________________________________________________ Purveyors of fine websites and high bandwith. Colocation and domain hosting available. Associated Messages, from the most recent to the oldest:

    
  1. Re: Logging users (bob 1998)
  2. Logging users (Terry Wilson 1998)
On 7/22/98 12:23 AM Terry Wilson wrote >I'd like to create a log using the [appendfile] context every time a user >successfully goes through the authentication dialog box. I have an >[include]ed custom checker file set up as recommended some time ago here >on the list. When I put the [appendfile] context immediately before >[authenticate user], I do get the log entry, but without the username >(naturally). If I put it after the [authenticate] and before the [/showif], >nothing happens at all. Where can I put the [appendfile] context so it >doesn't register the billion times the user hits a page during his session, >but only the one time he logs in? Seems so simple... On the page they login to. Pass along a value that only the initial login sees, ie trigger=1 all other hits to this page wont see it.yes/no I have other solutions.Robert Minor _________________________________________________________________________ Cybermill Communications webmaster@cybermill.com 8616 Joseph Ave. http://www.cybermill.com St. Louis, MO 63144 (314) 962-4024 _________________________________________________________________________ Purveyors of fine websites and high bandwith. Colocation and domain hosting available. bob

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:

reserved characters for field names? (1998) RE: WebCat vs. ASP (1999) Price + Texte (1999) Errata: WCS Newbie question (1997) Moment of Thanks (1997) Using [redirect] in the middle of a page? (1999) Which Pref is faster? (1998) Help!HELP!HELP! (1999) NT Version on IIS 4.0 (1997) shipCost not working v2.1b4 (1997) searching for items that begin with a number (2004) A Global Variable (1997) [WebDNA] Date: header on emails - timezone problem perhaps (2010) Test (2003) [WebDNA] El Capitan (2017) Shopping carts and reloading pages (1997) WebDNA processes only one page at a time? (2002) WebCatalog for guestbook ? (1997) Lookinf French speaking or European WebCatters (1999) [append db=] snippet (2003)