I have database where only login name, no password field. I need auto login, no need to submit login.php. When user access my site just check login name, if have permission then go to main page, else go to register page. How can I do this?
I omit the password validation. I need to login just check the login name automatically and go to the home page if user have no permission then go to register page. Just tell me where i need to change.
I don’t want to submit login page. If any user go to my site, database automatically check the username, if he has permission( loginName) then go to main page otherwise redirect to register page. I think I need to change the CWebUser.php page or if you have any idea plz let me know.
Yes you re right. I m using Global login and I know the variable name $testName. I want to check this $testName5 with my own database. If that Global login user ( $testName) has access then go to main page otherwise redirect to register page.