Hii wayne62682!!
There are two ways.
1>Use iframe to post your data of one frame to another frame
and if get success ,jump to loginsuccess/whtever page as per ur requirement
2>Use ajax/xmlhttp request that will first check the username on ur database whether it exists or not ,then depending on yes/no or 1/0 flag you can allow the actual submisson of the form for entered userid.
Note-more than one user can enter the same userid for registration,so to whom you give the requested userID ;P ;)
You can use temporary table ,that will store currently requested userId and allow to only one user (yes/no) flag.
so if Person A is requsting for userId "abcd1919" and
Person B is requsting for the same userId "abcd1919"
whoever either A or B ,first request to the server ,will save the "abcd1919" as userid in temp table ,and not allowed to another reqeust for same userID.
periodically you can delete unused UserID from temptable
Hope this will help you
Cheers :)
vinod
|