Jump to content

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


FFREDIANELLI

Recommended Posts

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 ?

Link to comment
Share on other sites

  • Administrators

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.

Link to comment
Share on other sites

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

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