1. #1
    Sencha User eVizions's Avatar
    Join Date
    Apr 2007
    Posts
    23
    Vote Rating
    0
    eVizions is on a distinguished road

      0  

    Default Changing the url for a Direct call

    Changing the url for a Direct call


    I am wondering if anyone has a way to use an alternate url for a single Ext.Direct call. I have a few calls in my app that need to be secure, so I need to swap out the url for an https url. I know I could just call a normal Ext.Ajax.request(), but I'd like to keep everything consistent. Any ideas?

  2. #2
    Sencha User
    Join Date
    Jan 2008
    Location
    Toronto, Canada
    Posts
    480
    Vote Rating
    4
    elishnevsky is on a distinguished road

      0  

    Default


    Quote Originally Posted by eVizions View Post
    I am wondering if anyone has a way to use an alternate url for a single Ext.Direct call. I have a few calls in my app that need to be secure, so I need to swap out the url for an https url. I know I could just call a normal Ext.Ajax.request(), but I'd like to keep everything consistent. Any ideas?
    You can have two providers, one for normal calls and one for secure calls.

  3. #3
    Sencha User eVizions's Avatar
    Join Date
    Apr 2007
    Posts
    23
    Vote Rating
    0
    eVizions is on a distinguished road

      0  

    Default


    Hmmm, yeah, I tried that and came up with mixed results due to the fact that it's https. Is there a way to change the proxy for the new provider to a ScriptTagProxy? I can't see anything in the API regarding this.

  4. #4
    Sencha User eVizions's Avatar
    Join Date
    Apr 2007
    Posts
    23
    Vote Rating
    0
    eVizions is on a distinguished road

      0  

    Default


    On second thought, I can't use ScriptTagProxy if I am sending secure info since it doesn't accept post parameters. It appears this can't be done... or am I missing something? Is there a way other than creating an iframe and calling in a new https page to handle this?

  5. #5

  6. #6
    Sencha User eVizions's Avatar
    Join Date
    Apr 2007
    Posts
    23
    Vote Rating
    0
    eVizions is on a distinguished road

      0  

    Default


    I was under the impression I couldn't do that because of the same origin policy.

  7. #7
    Sencha User
    Join Date
    Mar 2007
    Posts
    7,854
    Vote Rating
    4
    tryanDLS is on a distinguished road

      0  

    Default


    Are you saying that going from http to https on the same domain is causing a Same Original policy violation?

  8. #8
    Sencha User eVizions's Avatar
    Join Date
    Apr 2007
    Posts
    23
    Vote Rating
    0
    eVizions is on a distinguished road

      0  

    Default


    Yeah, same domain. Same url, actually.

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