you would be able to do this with a client side ajax script that tracks what page they are visiting. This is how live chat apps work, which track users around your site and tell you what pages they are looking at and allow you to popup a chat prompt. their sessionID would be sent back and forth in the cookie along with the page they are on, so you just store that in their session. so you could have some code in onRequestStart that looks at their session, checks what page they are on currently, if it matches the page they are request, show your warning. You can also store a timestamp along with the pageID, which should tell you if they left the page already. If your ajax calls back every 10 seconds, and the timestamp says 30 seconds, you could assume they clsoed the page already.
On Fri, Jul 4, 2014 at 7:00 AM, Byron Mann <[email protected]> wrote: > > Very curious to know what the scenario is for this requirement. > > Byron Mann > Lead Engineer & Architect > HostMySite.com > On Jul 3, 2014 12:38 PM, "UXB" <[email protected]> wrote: > > > > > I have always know and understood the underlying technology of the web in > > that it is a stateless medium. For the past decade I have been designing > > web apps knowing that because it is stateless you can never trust the > > client > > condition or the data being sent from them. So with that in mind I find > > myself struggling with a methodology to determine if a single CF session > > has > > opened a particular web page in two or more browser windows. > > > > Has anyone come up with a way to make this determination? The solution > > does > > not need to be bullet proof just best try. I am trying to prevent or > warn a > > user from visiting a page he already has open and running/displayed in a > > separate browser window. > > > > > > > > Ps: where is everyone? On vacation? I have only received 8 messages from > > this list since the 1st of the month. > > > > > > Dennis Powers > > UXB Internet - A website Design and Hosting Company > > P.O. Box 6028, Wolcott, CT 06716 - T:203-879-2844 > > W: http://www.uxbinternet.com > > W: http://www.ctbusinesslist.com > > > > > > > > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:358817 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

