1. #1
    Ext User
    Join Date
    Apr 2007
    Posts
    22
    Vote Rating
    0
    hahaEr2003 is on a distinguished road

      0  

    Question 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?

  2. #2
    Sencha - Ext JS Dev Team evant's Avatar
    Join Date
    Apr 2007
    Location
    Sydney, Australia
    Posts
    16,801
    Vote Rating
    605
    evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute

      0  

    Default


    I definitely wouldn't do that. Why do you need to do your login with ajax?

  3. #3
    Ext User
    Join Date
    Apr 2007
    Posts
    22
    Vote Rating
    0
    hahaEr2003 is on a distinguished road

      0  

    Default


    Quote Originally Posted by evant View Post
    I definitely wouldn't do that. Why do you need to do your login with ajax?
    because it have some valid control ,so it would be short us operator!

  4. #4
    Ext User
    Join Date
    May 2010
    Location
    india Bangalore
    Posts
    186
    Vote Rating
    0
    mayurid is on a distinguished road

      0  

    Default


    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. #5
    Ext User
    Join Date
    May 2010
    Location
    india Bangalore
    Posts
    186
    Vote Rating
    0
    mayurid is on a distinguished road

      0  

    Default


    please help evant

Thread Participants: 2

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi