Jump to content

Recommended Posts

Posted

How to know that a unigui session started inside a tuniurlframe was closed ?

 

I would like to know when it was closed to hide the tunitabsheet where the uniframe is located...

Posted

Hi,

 

Sorry I didn't understand your question.

its my english...

 

i have a menu application that start other idapi dlls inside tuniurlframe, this uniurlframe is inside a tunitabsheet that is no more needed when the webpage is closed.

how the application can know that the session unigui was closed ?

  • Administrators
Posted

i have a menu application that start other idapi dlls inside tuniurlframe, this uniurlframe is inside a tunitabsheet that is no more needed when the webpage is closed.

how the application can know that the session unigui was closed ?

 

Hi,

 

Since they are different sessions from different applications, there is no way to directly know which session is loaded/unloaded by which urlframe. Unless you pass a parameter to the app in the urlframe indicating its owner and in the owner app keep track of  sessions in a database table.

Posted

Can i use one array in the servermodule to store the UniApplication.UniSession.SessionID? the array in servermodule will be visible for all sessions ?

Posted

Can i use one array in the servermodule to store the UniApplication.UniSession.SessionID? the array in servermodule will be visible for all sessions ?

 

Forguet it... its another dll so different memory allocation... only database file can solve this...

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...