TK_AU_Session_Logon

   PROIV Aurora Help

TK_AU_SessionCheck is called to check if the operator has any Aurora sessions that can be resumed, returning 'Y' if it has, 'N' if not. When 'Y' is returned, Aurora displays the Resume Session? window. Resumable sessions occur when you have one or more tabs open running the application and either the Aurora session times out or you have forcibly closed the browser without exiting the application/tabs. Choosing to resume the sessions loads the Dashboard and attempts to reinstate any session tabs. When sessions are resumed, Aurora calls TK_AU_GetResumableSessions to obtain their details. These include the Session Number, Route or PROIV Function details, which printer was selected for the session, and the Co/Div code.

Therefore, TK_AU_SessionLogon is called before a new session tab is created. (It is called both for sessions that are being resumed as well as for new sessions when you have chosen an item in the menu, or Favourites/History lists.)

New sessions do not have a session number when the task is called, so during its execution it calls to the Replaceable function @AU_GetSecuritySession, which obtains and returns the next available session number. In summary, TK_AU_SessionLogon stores data against a session number that the new tab can then read in order to start or resume the correct PROIV Function or Route.

I/O

Variable

Type

Length

Notes

Input

coDiv

A

3

If the Aurora URL is Company/Division code specific, then the coDiv contains its value, otherwise for multi-Co/Div logons, the value is null.

Otherwise for multi-Co/Div Aurora environments, the coDiv parameter is either the selected value for the menu that is launching the session, or it is the value that is saved against the option in the Favourites/History list. The multiCoDivEnabled parameter contains ‘Y’.

Input

operatorId

A

32

 

Input

multiCoDivEnabled

A

1

 

Input

route

A

32

 

Input

routeDesc

A

80

 

Input

routeSeq

A

3

 

Input

deviceCode

A

32

 

Input

objectKey

A

32

 

Input

objectRef

A

32

 

Input

langCode

A

8

 

Input/Output

sessionNumber

A

8

 

Output

errorStatus

A

2

 


 

Comment on this topic

Topic ID: 810118