Jump to content

take Session: .. from one device to another


erich.wanker

Recommended Posts

Hi .. 

is it possible to start (as example) a unigui-app on android .. enter username and password ...

and if i go to my desktop-system .. start unigui-app .. enter same username and passowrd (andoid app will now close)  - AND i have the same "situation" like the android-session

ThanX for informations...

  • Like 1
Link to comment
Share on other sites

6 hours ago, erich.wanker said:

is it possible to start (as example) a unigui-app on android .. enter username and password ...

and if i go to my desktop-system .. start unigui-app .. enter same username and passowrd (andoid app will now close)  - AND i have the same "situation" like the android-session

ThanX for informations...

Hi Erich,

Do you mean that "one user" should not work simultaneously on several sessions?

Link to comment
Share on other sites

Hi Sherzod,

NO ;-)

but i have such function in my app

    ASessionList := UniServerModule.SessionManager.Sessions.SessionList; // .SessionList.  ist;//  .LockList;
    try
      for i := 0 to ASessionList.Count - 1 do
      begin
        USession := TUniGUISession(ASessionList[i]);
        m := USession.UniMainModule as TUniMainModule;

        if uniapplication.UniSession.SessionID <> USession.SessionID then // Do not close my OWN Session
        begin

.....

 

 

i mean:

if i login on android .. do my work .. and start my desktop-system -> the andoid app closes (works fine!)  and the desktop-app shows the same "situation" as i leave the Android-app (i dont CLOSE the android started session - i TAKE the existing session from android and run it on the desktop-device)

 

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...