PatrikIsProgres
Programmer
Hey all,
I was wondering if anyone knew any commands or tricks on how to find out what agents are alive, or if given an agent's pid, if it is still alive. Also, I'd really like to know how to make an app run on one specific agent until the user closes his/her browser.
Right now I've got it set up so that when you first navigate to the page, it gets the agent's pid and puts it into a hidden <input> tag. When you submit the form, the target page gets the pid passed to it and compares it to the pid of the agent it's currently on. If they're not the same, the page refreshes and continues to until it gets on the original agent. I have to use one specific agent because I'm using a super procedure to persist temp table data throughout the entire form (multiple pages). This way works, but the more agents that are alive, the longer it's going to take to get back to the original agent. Also, of that original agent dies somehow, the page just continually refreshes. This is why I need to know how to check the liveliness of the agent and how to actually specify which agent the app should run on.
Thanks for your time.
Patrick
I was wondering if anyone knew any commands or tricks on how to find out what agents are alive, or if given an agent's pid, if it is still alive. Also, I'd really like to know how to make an app run on one specific agent until the user closes his/her browser.
Right now I've got it set up so that when you first navigate to the page, it gets the agent's pid and puts it into a hidden <input> tag. When you submit the form, the target page gets the pid passed to it and compares it to the pid of the agent it's currently on. If they're not the same, the page refreshes and continues to until it gets on the original agent. I have to use one specific agent because I'm using a super procedure to persist temp table data throughout the entire form (multiple pages). This way works, but the more agents that are alive, the longer it's going to take to get back to the original agent. Also, of that original agent dies somehow, the page just continually refreshes. This is why I need to know how to check the liveliness of the agent and how to actually specify which agent the app should run on.
Thanks for your time.
Patrick