FFREDIANELLI Posted May 14, 2018 Share Posted May 14, 2018 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... Quote Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted May 14, 2018 Administrators Share Posted May 14, 2018 Hi, Sorry I didn't understand your question. Quote Link to comment Share on other sites More sharing options...
FFREDIANELLI Posted May 14, 2018 Author Share Posted May 14, 2018 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 ? Quote Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted May 15, 2018 Administrators Share Posted May 15, 2018 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. Quote Link to comment Share on other sites More sharing options...
FFREDIANELLI Posted May 15, 2018 Author Share Posted May 15, 2018 Can i use one array in the servermodule to store the UniApplication.UniSession.SessionID? the array in servermodule will be visible for all sessions ? Quote Link to comment Share on other sites More sharing options...
FFREDIANELLI Posted May 15, 2018 Author Share Posted May 15, 2018 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... Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.