-
1 Jul 2007 3:42 AM #1
How to write a login control using form,does it good for login?
How to write a login control using form,does it good for login?
I wanna wirte a login control using form!
but I find I couldn't do it well!when I try to redirect a new page,I had to transalte some paras to this page include password,so ,it will show password in address bar.
does it good for login?
my code like this:
Code:simple.addButton('post, function(){ if (simple.isValid()) { //******redirect;but it isn't good because the password will show in address!!!! location.href="loginUser.jsp?userName="+txtbUserName.getValue()+"&password="+txtbPassword.getValue(); }else{ Ext.MessageBox.alert('Errors', 'Please fix the errors noted.'); } }, simple); simple.addButton('Cancel'); simple.render('form-ct'); anybody can help me?
-
1 Jul 2007 3:47 AM #2
I definitely wouldn't do that. Why do you need to do your login with ajax?
-
1 Jul 2007 4:37 AM #3
-
5 Jul 2010 9:55 PM #4
i want to set the cookie before the login like:if the user fails to login by typing wrong user id or password 5 times in 15 minutes then he should be restricted for the next 15 minutes to login.. should recieve an alert or message on window(just like gmail or yahoo)
-
5 Jul 2010 10:05 PM #5


Reply With Quote
