[Progress Communities] [Progress OpenEdge ABL] Forum Post: RE: PASOE: sessionStartupProc procedure example

  • Thread starter Thread starter Michael Jacobs
  • Start date Start date
Status
Not open for further replies.
M

Michael Jacobs

Guest
You can find some reference information for configuring a sessionStartupProc in the OE ABL Service Developer Guide's Session Startup procedure topic. One of the key points is that the startup procedure runs as an ABL persistent-procedure. Meaning that it and its stored variables are accessible for the lifetime of the ABL session ( or you explicitly delete it ). What goes into a startup procedure is obviously your choice, but for my simple testing purposes I do things like: . define global variables - which I can later access from other parts of my test application . create objects and store them locally in the startup procedure - which l can later access from other parts of my test application while executing client requests . Initialize static classes . load application properties . initialize my session loading and use of OE Domains . initialize application logging . log startup summary information ... It is really very flexible and useful. Now, the real ABL developers out there may tell you that some things I do for testing are not appropriate for a real application - and you should follow their suggestions. But this simple list may give you some idea about what might be done. I'm sure others can also help by sharing their uses.

Continue reading...
 
Status
Not open for further replies.
Back
Top