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 Solution11770 Bernardo Plaza Court | SiteEdit Pro, SiteCheck, PhotoMasterSan Diego, CA 92128 | SiteGuard619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com
Associated Messages, from the most recent to the oldest:
>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 Solution11770 Bernardo Plaza Court | SiteEdit Pro, SiteCheck, PhotoMasterSan Diego, CA 92128 | SiteGuard619/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:
WebCat2b12--[searchstring] bug (1997)
Status of variable hierarchy changes? (2000)
startat param not working (2008)
PCS Frames (1997)
Limiting user access to .tmpl files (1997)
two of the same named db's open at once (1998)
incrementing a counter remotely? (1999)
'does not contain' operator needed ... (1997)
Founditems context returning only 1 item (1997)
Smart caching problems with 2.1b3? (1997)
Emailer setup (1997)
Trouble Searching (1999)
Still Learning (1997)
PCS Frames (1997)
Not really WebCat - need HTML Grider (1997)
WebCat2final1 crashes (1997)
Emailer choke (1997)
If Empty ? (1997)
WebDNA Solutions ... sorry! (1997)
Cart Question: The Epic Saga (1998)