I'm looking for a way to manage a list of stacks and would like to know how I could trace a stack back to the stack which originally opened because I want to create a system which implements a security system. For example say I have a stack called Primary Stack which has been opened under the username Administrator and then the user types his or her username and password in and the Primary Stack then opens a new stack called Secondary Stack. The system has then recorded details of the stacks username and password for security purposes, so the tree looks a little bit like this.
Primary Stack - Administrator
|__ Secondary Stack - Guest
Then say for example a new user types his or her username and password in and the Primary Stack then opens a third new stack called Tertiary Stack. As again the system has recorded details of the stacks username and password for security purposes and so looks like this.
Primary Stack - Administrator
|__ Secondary Stack - Guest
|__ Tertiary Stack - TinyUser
Now say that the first user who logged on - Guest - opens a new stack which is a control panel for changing the settings. How would I trace back the Secondary Stack so that the new control panel stack inherits its parents username and password. I also want this to create a plugin for Revolution which shows each stack listed in a tree order of who opened. (Like how Process Explorer shows the process tree, something like that). E,g,
Primary Stack - Administrator
|__ Secondary Stack - Guest
|____ Control Panel - Guest
|__ Tertiary Stack - TinyUser
I know its quite
