Uniface User Forum

 View Only
  • 1.  Session not maintained on mobile

    Posted 06-17-2024 04:59

    Hello,
    We would like to set up a mobile application. We followed the document written by Jason: https://www.rocketsoftware.com/sites/default/files/resource_files/Rocket_Uniface_MobileAppBuilder_Whitepaper_Oct2021_v5.pdf

    Option 1 with the use of external resources works well. 

    However, we're encountering a major session management problem with option 2. This method uses internal resources.
    In fact, for EACH ACTION (e.g. clicking on a button with a "Public Web"), the session number is modified. Whereas the session number is only supposed to be renewed after 30 minutes of inactivity.

    Maintaining the session number is imperative, as it enables us to store information. Ex: the logged-in user.
    The session number ($item("SESSION", $webinfo("WEBSERVERCONTEXT"))) does not change when the same DSP is opened with a web browser or with the cell phone with external resources.

    Do you know what could be causing this change in behavior? 

    Deployment environment :
    Windows 11
    Cordova 12
    SDK 34
    JDK 19
    Gradle 7.6

    Thank you, 



    ------------------------------
    Jérémie CEDOLIN
    Proges Plus
    Willems FR
    ------------------------------


  • 2.  RE: Session not maintained on mobile

    Posted 06-21-2024 09:05

    Hello,
    For your information, the exact same application works when run from Android 10. The session is maintained.
    Under Android 14 (today's version), the session changes all the time.



    ------------------------------
    Jérémie CEDOLIN
    Proges Plus
    Willems FR
    ------------------------------