Looking for someone to double check my code...
This WebDNA talk-list message is from 1999
It keeps the original formatting.
numero = 24467
interpreted = N
texte = I've got a member's only site built with TPro served by w*4.0 MacOS 8.5.1.The site requires that visitors first register before continuing further. Ihave that part of the site all working and working quite well. Basically, Icreate a db record with the user's particular profile information. In thatrecord is a username which is guaranteed to by unique and an SKU which isalso unique. The user creates and we store their password and e-mailaddress among other things.Once the user has entered their data, we assign a validation code ande-mail it to the user at the e-mail address that they specified. The useris instructed to tcheck their e-mail and re-enter the site to login.Here's where I want someone to check out my logic...I have developed two pages a login.tpl and a validate.tpl. The login tplasks the visitor for their username and password and submits to thevalidate.tpl.The validate tpl checks for valid username and password. If either of theseis incorrect the user is told that they made an error and are instructed touse their browser's back button.If the username and password are correct, see if the user has alreadyvalidated based on the value of the accesscode in the database. If it'svalidated, then redirect the user to the main page of the site.If the username and password are correct, but the user hasn't validatedyet, they get a form to input their access code. The validate.tpl submitsto itself and continues until the user provides a valid accesscode or givesup.Of course there will be a shortcut out of the system in case the user haslost their password or access code, they can have that info mailed to themat the e-mail address that we have in their database.Anyone want to do some serious looking and see if I've covered all bases?Thanks,___Joe___P.S. I didn't release the code here as it would present a security for thesite. Not that I don't trust everyone on this list ;) So I will have tosupply a version of the templates that strips out all the fluff anddisguises the site's specifics._________________________________________________Joseph D'Andrea JoeDan@West21.comWEST21.com Internet services for the 21st Century http://www.west21.com/_________________________________________________-------------------------------------------------------------Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server.To end your Mail problems go to
.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:
|
- Looking for someone to double check my code... (Joseph D'Andrea 1999)
|
I've got a member's only site built with TPro served by w*4.0 MacOS 8.5.1.The site requires that visitors first register before continuing further. Ihave that part of the site all working and working quite well. Basically, Icreate a db record with the user's particular profile information. In thatrecord is a username which is guaranteed to by unique and an SKU which isalso unique. The user creates and we store their password and e-mailaddress among other things.Once the user has entered their data, we assign a validation code ande-mail it to the user at the e-mail address that they specified. The useris instructed to tcheck their e-mail and re-enter the site to login.Here's where I want someone to check out my logic...I have developed two pages a login.tpl and a validate.tpl. The login tplasks the visitor for their username and password and submits to thevalidate.tpl.The validate tpl checks for valid username and password. If either of theseis incorrect the user is told that they made an error and are instructed touse their browser's back button.If the username and password are correct, see if the user has alreadyvalidated based on the value of the accesscode in the database. If it'svalidated, then redirect the user to the main page of the site.If the username and password are correct, but the user hasn't validatedyet, they get a form to input their access code. The validate.tpl submitsto itself and continues until the user provides a valid accesscode or givesup.Of course there will be a shortcut out of the system in case the user haslost their password or access code, they can have that info mailed to themat the e-mail address that we have in their database.Anyone want to do some serious looking and see if I've covered all bases?Thanks,___Joe___P.S. I didn't release the code here as it would present a security for thesite. Not that I don't trust everyone on this list ;) So I will have tosupply a version of the templates that strips out all the fluff anddisguises the site's specifics._________________________________________________Joseph D'Andrea JoeDan@West21.comWEST21.com Internet services for the 21st Century http://www.west21.com/_________________________________________________-------------------------------------------------------------Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server.To end your Mail problems go to .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
Joseph D'Andrea
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:
Multiple SSL Keys (1998)
2.0 Info (1997)
RE: Automatic thumbnail images (1998)
Re(3): Small Bug: ErrorLog.txt/[FORMVARIABLES]/[ORDERFILE] (1998)
WebCat2b13 Mac plugin - [sendmail] and checkboxes (1997)
WebCat2 - [format thousands] (1997)
WebCatalog 2.1b3 - Plugin or cgi ? (1997)
Artwork (1997)
Strange intermittent WebDNA problems (2008)
cc auth with [purchase] (1998)
Setting up shop (1997)
New Plug-in and Type 11 errors (1997)
[OT] 'Email this story to a friend' (2003)
Mail Integration (1999)
The Guru Speaks-very long reply (1998)
SOLVED. slow site (2003)
OT: Unknown Webstar Error ruining presentation?! (2001)
OT Cookie limit (2001)
File Uploads... (1997)
Summary search -- speed (1997)