Re: Functionality to check for duplicate usernames, confirm passwords

Dan Rossi <liveuser-zu2dZaOKXTSc5qR/[email protected]>
Newsgroups gmane.comp.php.pear.liveuser
Message-ID <[email protected]>
On 14/06/2005, at 5:28 PM, Benedikt Laube wrote:

> Hi Dan,
>
> you can also write your own QuickForm rules. You can write one to
> easily search your LU container(s) at form submission, to look for
> duplicates, and then you can use the QuickForm validation system to
> throw an error if need be.
>
> Keep in mind that it might be not  a good idea to give an error string
> like "This username already exists" but rather "Please choose another
> username". A little bit of security might be saved by that.
>
> Best,
> Benedikt
>

Just to extend to this idea, the way my apps handle get and post 
requests are different methods within the page class, I have still 
gotta get around the validate issue where its limited to post to itself 
but cant be seperated in get and post methods.

What I am going to attempt to do, is create a client side handle check 
which does an ajax connection to a handle check service and return 
either true or false :) My only concerns of this is browsers that can 
support ajax.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.