1. #1
    Sencha User
    Join Date
    Sep 2010
    Posts
    23
    Vote Rating
    0
    gary7au is on a distinguished road

      0  

    Default Ext.util.Cookie in Sencha Touch ?

    Ext.util.Cookie in Sencha Touch ?


    Does anyone know if Ext.util.Cookies is to be added to Sencha Touch?

    I have an application with a login screen that returns a token which will expire only after 'x' days. I would like to store the token in a cookie so the user does not have to login every time they access the app.

    Cheers

  2. #2
    Ext JS Premium Member
    Join Date
    Jan 2010
    Posts
    3
    Vote Rating
    0
    igriffin is on a distinguished road

      0  

    Default


    Yes, what is the status of cookies? I am assuming we are just moving on to HTML5 local storage, which is what I plan to do with my old cookie code, but it would be nice to reuse this code to get things mobile faster.

    gary: For now, you can always include the old Cookies.js code for support. That's what I'm doing for now. At the suggestion of somebody else, I have an 'ext-touch-missing.js' file next to my ext-touch-debug files. That way, I can double-check my 'missing' items against new releases just in case it gets added.


    -Ian

  3. #3
    Ext JS Premium Member
    Join Date
    Jun 2010
    Posts
    6
    Vote Rating
    0
    jefftran is on a distinguished road

      0  

    Default


    I only have the Sencha Touch license. Can i include the Ext.3.3.1 cookies.js?

  4. #4
    Ext Premium Member
    Join Date
    Sep 2010
    Posts
    16
    Vote Rating
    0
    alikic is on a distinguished road

      0  

    Default


    I am thinking of implementing detection of server failover, by detecting a change in JSESSIONID cookie passed in the response from the server. The browser won't let me read the response headers (for cookies) directly, so the only way seems to be accessing document.cookie after response is received. What I want to say, perhaps there are still use cases that validate inclusion of Ext.util.Cookies in Sencha Touch.

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

      0  

    Default


    Yes they're desperately needed. These just don't cut it.

Similar Threads

  1. Replies: 10
    Last Post: 20 Jan 2012, 10:10 AM
  2. Ext JS and Sencha Touch!
    By mcamer in forum Sencha Touch 1.x: Discussion
    Replies: 8
    Last Post: 1 Dec 2010, 10:19 AM
  3. How can I use the Ext.Msg in sencha touch?
    By bu123 in forum Sencha Touch 1.x: Discussion
    Replies: 3
    Last Post: 23 Jul 2010, 4:35 AM

Thread Participants: 4

Tags for this Thread