1. #1
    Ext User boriscy's Avatar
    Join Date
    Dec 2007
    Posts
    21
    Vote Rating
    0
    boriscy is on a distinguished road

      0  

    Cool Adding a Token

    Adding a Token


    I would like to add a token to every Ajax request, especially with the forms, I've tried to use
    Code:
    Ext.Ajax.on('beforerequest', function(conn, options){
        options.params.token = 'hdsja3434kuh34asdlfu';
    }
    this code doesn't work with Ajax calls made by a Form submit action. I've tried in many ways to add a param like using options.baseParams.token or try to add via prototype.

    How can I make this work, or how can I add the token when I submit af orm
    Thanx in advance.

  2. #2
    jay@moduscreate.com's Avatar
    Join Date
    Mar 2007
    Location
    Frederick MD, NYC, DC
    Posts
    16,353
    Vote Rating
    79
    jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all

      0  

    Default


    have you tried baseParams when sending the requests?

  3. #3
    Ext User boriscy's Avatar
    Join Date
    Dec 2007
    Posts
    21
    Vote Rating
    0
    boriscy is on a distinguished road

      0  

    Default


    Quote Originally Posted by jgarcia@tdg-i.com View Post
    have you tried baseParams when sending the requests?
    Yes!!!

Thread Participants: 1

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