Session Mgmt and global variables
Posted: Mon Aug 17, 2009 10:54 pm
I have made some assumptions, which I should make sure are true. The application I'm converting includes unique session management for each user. That is, the application insures that the user signed in has only one session running. There are 2 reasons for the session mgmt requirement. The first is the obvious one of security, which I can see that nuBuilder includes. However, the second is that the application keeps track of and logs certain actions taken by the user.
Secondly, when a user signs in, a number of global variables are initialized and some may be modified throughout the session. The variables are global in the sense that, when the user navigates from program to program, every program has access to the value housed in that variable. I need to be sure nuBuilder can support this concept.
I am also concerned about another rather complicated type of function undertaken by the existing application. One example is in our order entry program. The program is designed to support a specific type of industrial service industry. When an order is entered, the user selects the name of a process to be applied. When that process is selected, the screen is updated with a list of operations associated with the process. That part may not be so complicated. However, not all fields associated with each operation in the list can be displayed, because they are so numerous. The user may wish to select one of the operations, which is then displayed in another form for alteration. When all data has been entered/altered on the form, it will be saved as a part of that order. When the new order is saved, two tables are updated. One for the order "header" information and the other with the list of operations, that apply to that order. The original "master table", from which the operations were "extracted" is never changed in the order entry process. I know this is complicated, so if you wish, I can send you some screen shots of that application if you wish. Basically, I have not seen, in the tutorials, how to do this sort of thing. I just need to know that it's possible at this time. It will be at least a month, before I'm ready to make this program in nuBuilder.
Thanks,
Merrill
Secondly, when a user signs in, a number of global variables are initialized and some may be modified throughout the session. The variables are global in the sense that, when the user navigates from program to program, every program has access to the value housed in that variable. I need to be sure nuBuilder can support this concept.
I am also concerned about another rather complicated type of function undertaken by the existing application. One example is in our order entry program. The program is designed to support a specific type of industrial service industry. When an order is entered, the user selects the name of a process to be applied. When that process is selected, the screen is updated with a list of operations associated with the process. That part may not be so complicated. However, not all fields associated with each operation in the list can be displayed, because they are so numerous. The user may wish to select one of the operations, which is then displayed in another form for alteration. When all data has been entered/altered on the form, it will be saved as a part of that order. When the new order is saved, two tables are updated. One for the order "header" information and the other with the list of operations, that apply to that order. The original "master table", from which the operations were "extracted" is never changed in the order entry process. I know this is complicated, so if you wish, I can send you some screen shots of that application if you wish. Basically, I have not seen, in the tutorials, how to do this sort of thing. I just need to know that it's possible at this time. It will be at least a month, before I'm ready to make this program in nuBuilder.
Thanks,
Merrill