1. #1
    Sencha Premium Member
    Join Date
    Sep 2008
    Posts
    710
    Vote Rating
    6
    Bucs is on a distinguished road

      0  

    Default Touch and cookies?

    Touch and cookies?


    I have a Touch app that makes Ajax.requests to the (IIS .net) server...and while there, the MVC app communicates with a third party site...creates a session, gets some cookies etc., and now I need to redirect the Touch app to that site, with the cookies that I created. I have tried to redirect from the server directly to the third party site, but Touch is not liking that...not sure if you can redirect from an XHR request or not. I read where you should be able to..not working for me.

    Ideally, I need to return JSON to the client anyway as I need to know the result of the initial operation before issuing the redirect. So, I am thinking if I return the cookies in a JSON collection, I could just reattach them to the document object and make the request from the client.

    I also noticed that Touch does not have the Ext.util.Cookie class, can I simply use the one from 3.3, or do I need to just use Javascript to do this?

    Does this sound like an appropriate way to do this? Anyone know of a better way to handle this task? If so, I'm all ears Thx

  2. #2
    Sencha User
    Join Date
    Nov 2011
    Posts
    72
    Vote Rating
    0
    kalor is on a distinguished road

      0  

    Default


    I'm confused as hell about where touch ends and ExtJS begins. Some say you should never use ExtJS in a touch app, others imply that you can.

    On a lighter note, here is someone who has got sencha cookies to work.

Similar Threads

  1. Too much data for cookies, what else?
    By kmm in forum Ext 2.x: Help & Discussion
    Replies: 12
    Last Post: 20 Jul 2011, 7:21 AM
  2. [DUPE-653] Touch 1.0.1 scrolls to end of page on simple touch.
    By stevek in forum Sencha Touch 1.x: Bugs
    Replies: 2
    Last Post: 23 Dec 2010, 3:45 PM
  3. Too Many Cookies
    By frrogoy in forum Ext 3.x: Help & Discussion
    Replies: 4
    Last Post: 7 Dec 2010, 5:39 AM
  4. Remove all cookies
    By Developer1729 in forum Ext 3.x: Help & Discussion
    Replies: 2
    Last Post: 24 Nov 2009, 5:33 AM
  5. Help Using Cookies
    By jphillips in forum Ext 2.x: Help & Discussion
    Replies: 4
    Last Post: 25 Feb 2008, 11:11 AM

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