5 Apr 2011 1:54 PM #1
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.
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
21 Nov 2011 7:33 PM #2
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.
By kmm in forum Ext 2.x: Help & DiscussionReplies: 12Last Post: 20 Jul 2011, 7:21 AM
By stevek in forum Sencha Touch 1.x: BugsReplies: 2Last Post: 23 Dec 2010, 3:45 PM
By frrogoy in forum Ext 3.x: Help & DiscussionReplies: 4Last Post: 7 Dec 2010, 5:39 AM
By Developer1729 in forum Ext 3.x: Help & DiscussionReplies: 2Last Post: 24 Nov 2009, 5:33 AM
By jphillips in forum Ext 2.x: Help & DiscussionReplies: 4Last Post: 25 Feb 2008, 11:11 AM