Re: SiteGuard Use Question

This WebDNA talk-list message is from

1997


It keeps the original formatting.
numero = 12330
interpreted = N
texte = >I found out that if you create a user in SiteGuard (i.e. account number) >and leave a blank password it will accept it fine. So I want to bypass the >normal Username & Password dialog box and present a form that asks for >their current account number. So if they go to one of the protected pages >via bookmark they first are sent to the login form.Let's assume you're talking about WebCatalog and not SiteGuard here, since SiteGuard has very limited abilities in comparison. The WebDNA looks similar in both, but SiteGuard can't do arbitrary databases.Things are a lot simpler if you use the standard password dialog, because then the username is always available to you throughout the site, without having to change any of your templates.Buuuut, if you're dead-set on *not* using the [Authenticate] password dialog (perhaps because it's confusing to ask people to leave the password field blank), then you'll need to manually propogate the username from page to page. So on every subsequent link you would put something like so that the username first entered into your form would move from page to page, and you could still use [protect] or some other way of verifying the user on those subsequent pages.>Is it possible to record the accesses for each account number. I don't need >to track the person through the site (although that would be nice), but >only record the number of times this person has accessed for a given time >frame. I would vision this info being recorded in the SiteGuard database.Yes, in WebCatalog. You can do something like a page counter (examples on StarNine's site), only use the account number as the key rather than the URL. This would replace a record in the tracking database with the incremented counter for that account number. Include the counter stuff on every page you want tracked (probably just the entry page). You can add a first- and last date of access field to the database too. I've done this for tracking all the different web browsers that hit a site.Grant Hulbert, V.P. Engineering | ===== Tools for WebWarriors ===== Pacific Coast Software | WebCatalog Pro, WebCommerce Solution 11770 Bernardo Plaza Court | SiteEdit Pro, SiteCheck, PhotoMaster San Diego, CA 92128 | SiteGuard 619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com Associated Messages, from the most recent to the oldest:

    
  1. Re: SiteGuard Use Question (Kenneth Grome 1997)
  2. Re: SiteGuard Use Question (Grant Hulbert 1997)
  3. SiteGuard Use Question (Mark Anderson 1997)
>I found out that if you create a user in SiteGuard (i.e. account number) >and leave a blank password it will accept it fine. So I want to bypass the >normal Username & Password dialog box and present a form that asks for >their current account number. So if they go to one of the protected pages >via bookmark they first are sent to the login form.Let's assume you're talking about WebCatalog and not SiteGuard here, since SiteGuard has very limited abilities in comparison. The WebDNA looks similar in both, but SiteGuard can't do arbitrary databases.Things are a lot simpler if you use the standard password dialog, because then the username is always available to you throughout the site, without having to change any of your templates.Buuuut, if you're dead-set on *not* using the
[authenticate] password dialog (perhaps because it's confusing to ask people to leave the password field blank), then you'll need to manually propogate the username from page to page. So on every subsequent link you would put something like [username]> so that the username first entered into your form would move from page to page, and you could still use [protect] or some other way of verifying the user on those subsequent pages.>Is it possible to record the accesses for each account number. I don't need >to track the person through the site (although that would be nice), but >only record the number of times this person has accessed for a given time >frame. I would vision this info being recorded in the SiteGuard database.Yes, in WebCatalog. You can do something like a page counter (examples on StarNine's site), only use the account number as the key rather than the URL. This would replace a record in the tracking database with the incremented counter for that account number. Include the counter stuff on every page you want tracked (probably just the entry page). You can add a first- and last date of access field to the database too. I've done this for tracking all the different web browsers that hit a site.Grant Hulbert, V.P. Engineering | ===== Tools for WebWarriors ===== Pacific Coast Software | WebCatalog Pro, WebCommerce Solution 11770 Bernardo Plaza Court | SiteEdit Pro, SiteCheck, PhotoMaster San Diego, CA 92128 | SiteGuard 619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com Grant Hulbert

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:

Server Freeze (1998) # in field name (2000) Search for value or blank? (2004) [WebDNA] Text box delimiter (2009) Re[2]: 2nd WebCatalog2 Feature Request (1996) A little help on e-mail (HELP!!! :-) ) (1998) WCS Newbie question (1997) PCS Emailer's role ? (1997) OT ImageMagick and Thumbnails (2003) Removing a character (2000) [WebDNA] Putting '&search' into URL killing all search contexts on my sites (2010) [WebDNA] db admin tool (2008) Happy New Year (2002) GuestBook example (1997) More questions about serial number dishing (1997) Re2: AAgghh!! Help, please. SSL strikes again. (1997) WC2b15 File Corruption (1997) My slower response (1997) [shownext max (1997) Draft Manual, Tutorial, and more (1997)