Hi Andreas,
I am using the Startup_Task just so I can have the page launched when opening the library on development. I only have Do $clib.$remoteforms.jsMenuNavMenu.$open() written in it.
However, with the use of sys(3000), I got this log below just after my last method (it is quite long sorry) :
SQL.Startup_Task/$resume Calculate tSystemCall as tInSystemCall ## ensure tSystemCall is still correctly set, as omnis events elsewhere could have triggered a $suspend
0: SQL.Startup_Task/$i_nv_logged_off # called by the core when a session using a new non-visual dam is closed outside the sql object browser
0: SQL.Startup_Task/$i_nv_logged_off Do method $i_deleted_session_or_cursor (pSessName)
0: SQL.Startup_Task/$i_deleted_session_or_cursor # called by the core when either a session or cursor is closed outside the sql object browser
0: SQL.Startup_Task/$i_deleted_session_or_cursor Calculate tSystemCall as kTrue ## do not revert the current session to OMNIS_DEFAULT when $suspend is executed
0: SQL.Startup_Task/$i_deleted_session_or_cursor Calculate tInSystemCall as kTrue ## currently processing call from outside of the sql browser
0: SQL.Startup_Task/$i_deleted_session_or_cursor If mid(pCursorName,1,6)<>’OMNIS_’&mid(pCursorName,1,6)<>’BLYTH_’
0: SQL.Startup_Task/$i_deleted_session_or_cursor # session is not an internal session
0: SQL.Startup_Task/$i_deleted_session_or_cursor Do gSessionList.$search(gSessionName=pCursorName,kTrue,kFalse,kTrue,kTrue)
0: SQL.Startup_Task/$i_deleted_session_or_cursor Set reference lSearchRef to gSessionList.$first(kTrue,kFalse)
0: SQL.Startup_Task/$i_deleted_session_or_cursor If lSearchRef
0: SQL.Startup_Task/$i_deleted_session_or_cursor Do method close_session_windows
0: SQL.Startup_Task/close_session_windows # called by the methods ‘$i_deleted_session_or_cursor’ and ‘$i_logged_on’ to close all the windows associated with the session ‘pCursorName’
0: SQL.Startup_Task/close_session_windows Do gSessionList.$loadcols() ## current line already set in calling method
0: SQL.Startup_Task/close_session_windows # Do code method STARTUP/get_session_details (gv_ToolsLib_name,gSessionDBVer,lSessUser,lSessHasSubs,lSessHasUsers,lObjTypesList,gSessionConnect)
0: SQL.Startup_Task/close_session_windows # Do lObjTypesList.$redefine(lObjType)
0: SQL.Startup_Task/close_session_windows #
0: SQL.Startup_Task/close_session_windows # For lLineInList from lObjTypesList.$linecount to 1 step -1
0: SQL.Startup_Task/close_session_windows # Do lObjTypesList.$line.$assign(lLineInList)
0: SQL.Startup_Task/close_session_windows # Do lObjTypesList.$loadcols()
0: SQL.Startup_Task/close_session_windows # Calculate lWinInstName as con(gSessionName,’_’,lObjType)
0: SQL.Startup_Task/close_session_windows # Close window instance [lWinInstName] ;; close object browser windows (3rd Level)
0: SQL.Startup_Task/close_session_windows # End For
0: SQL.Startup_Task/close_session_windows Do $iwindows.$sendall($ref.$close(),pos(con(gSessionName,’_’),$ref().$name)&$ref.$lib().$name=’SQL’) Returns #F ## 14/03/02 – replaces the above code
0: SQL.Startup_Task/close_session_windows Calculate lWinInstName as gSessionName
0: SQL.Startup_Task/close_session_windows Close window instance [lWinInstName] ## close object types browser window (2nd Level)
Since it does mention a Startup_Task, the problem could be the fact that I am launching the page through the task ? Or is this log normal and I should be looking elsewhere in the log?
Regarding the sample Gav, I have also tried with Applets and Samples and it’s working fine. That’s why I said that it’s clearly me who has done something I really shouldn’t have. My guess is that it is related to the login/logoff because on my homePage, before I logged myself onto my account, I can refresh the page as many time as I want to.
Thank you very much for helping me,
Coralie