Results 1 to 2 of 2

Thread: Touch and cookies?

  1. #1
    Sencha Premium Member
    Join Date
    Sep 2008
    Vote Rating

    Default 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
    Vote Rating


    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts