mojsan
03-22-2012, 01:15 PM
I have a web site application written in VB.net and asp. The main page uses JavaScript to load a popup page that performs multiple tasks. The main page accepts a variety of incoming messages, only SOME of which need to be passed to this popup page for processing. I found an ugly way to pass the message to the popup by placing it in a Session variable. Now I need to cause it to be handled. I see two possibilities, and I do not have a clue how to implement either. Either one would be great:
1. In the main page, trigger a subroutine in the popup, using JavaScript.
OR
2. In the popup, establish a trigger any time that Session variable changes.
1. In the main page, trigger a subroutine in the popup, using JavaScript.
OR
2. In the popup, establish a trigger any time that Session variable changes.