Results 1 to 3 of 3

Thread: Session maintenance issue with Sencha Touch + Cordova hybrid app

  1. #1
    Sencha User
    Join Date
    Jun 2015
    Posts
    2
    Answers
    1

    Default Answered: Session maintenance issue with Sencha Touch + Cordova hybrid app

    Hi,
    I'm using Sencha Touch and Cordova for creating a hybrid app and server side code is in zend. Server side session is regenerated on each request. so during each page redirect the server side session is lost and it redirects to login page. I'm not sure whether there is an issue with passing cookies to server. Its working fine with mobile browser. The issue occurs only when its built as mobile apk. Is there any difference between the app running in mobile browser and its apk version?

  2. Hi,
    I fixed it myself. There is no problem with my Sencha touch app. After changing android's apk target level it works fine. It seems like there is an issue with session management in the lower android versions.
    Thanks

  3. #2
    Sencha User
    Join Date
    Jun 2015
    Posts
    2
    Answers
    1

    Default

    Hi,
    I fixed it myself. There is no problem with my Sencha touch app. After changing android's apk target level it works fine. It seems like there is an issue with session management in the lower android versions.
    Thanks

  4. #3

    Default Sencha Touch + Cordova app for android. Session management issue ?

    Yes. i too faced same issue in Session management issue in Android kitkat 4.4.4 API Level 19. When i Set TargetSDKLevel = 21.

    Session Management Issue will solve Only in 2 cases :

    For Kitkat (API 19, V 4.4)
    Case 1 : Set android:targetSDKLevel : 18

    Case 2 : Remove android:targetSDKLevel in androidManifest.xml file. So It will take targetSDKLevel from minSDKLevel.

    For LolliPop (API 21, V 5.1)

    Session management is working in any case. No issue.


    Could any one explain what is connection between android:targetSDKLevel & session management ?

Similar Threads

  1. idle o session timeout with sencha touch
    By carlo123 in forum Sencha Architect 3.x: Q&A
    Replies: 4
    Last Post: 9 Oct 2014, 6:06 AM
  2. idle o session timeout with sencha Architect touch
    By carlo123 in forum Sencha Touch 2.x: Q&A
    Replies: 0
    Last Post: 9 Oct 2014, 12:02 AM
  3. Sencha Touch 2 Session problem
    By adi.shoukat in forum Ext: Q&A
    Replies: 2
    Last Post: 11 Mar 2013, 3:35 AM
  4. Mobile app with sencha-touch
    By fch415 in forum Sencha Touch 2.x: Examples and Showcases
    Replies: 2
    Last Post: 20 Aug 2012, 6:00 PM
  5. Need help on Session management of Sencha touch
    By sapna_kotresh in forum Sencha Touch 1.x: Discussion
    Replies: 5
    Last Post: 11 Jul 2011, 3:39 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
  •