Mailing List webobjects-dev@wocommunity.org Message #19
From: Morris, Mark <webobjects-dev@wocommunity.org>
Subject: Re: [EXTERNAL] [WO-DEV] Re: Communication between 2 different browers (but same application)
Date: Thu, 28 Jan 2021 16:58:43 +0000
To: WebObjects & WOnder Development <webobjects-dev@wocommunity.org>

My first thought was along the lines of Jesse’s answer. Have the button in the first window update some persistent user state, and use Ajax in the second window to poll, checking that user state.

-- Mark

 

From: WebObjects & WOnder Development <webobjects-dev@wocommunity.org> on behalf of Jesse Tayler <webobjects-dev@wocommunity.org>
Reply-To: WebObjects & WOnder Development <webobjects-dev@wocommunity.org>
Date: Thursday, January 28, 2021 at 7:07 AM
To: WebObjects & WOnder Development <webobjects-dev@wocommunity.org>
Subject: [EXTERNAL] [WO-DEV] Re: Communication between 2 different browers (but same application)

 

Security First: External email, use caution clicking links or opening attachments

It’s not really to do with sessions more that you want to sync up the user interactions between two points

 

If you want fancy, immediate responses you’d want to setup some notification system between the two clients

 

If you can tolerate polling style I might just use AJAX and ping to see if results are changed.

 

 



On Jan 28, 2021, at 3:26 AM, Markus Ruggiero (rucotec) <webobjects-dev@wocommunity.org> wrote:

 

I need some conceptual help.

Let’s say you have a browser open to a Wonder app (component based session). Imagine you go to a different computer and open another session (maybe via direct action) to the same application. I want to have a button (or some such) in the first window that when clicked communicates to that second independent window and enables some form fields there. The user then submits data to the application from that second window. The first window registers the submission and continues with the user interaction.

How would you do something like this? Is this possible at all? Possibly the second login could be from a mobile device and the presented browser page does not allow to do more interaction with the application than just enter some data and submit. The first session is required do wait for the data (or a cancel) and can then proceed.

Thanks for any ideas / help
—markus—

 


Markus Ruggiero



rucotec GmbH                        web https://rucotec.ch

Steinenvorstadt 79                email markus.ruggiero@rucotec.ch

4051 Basel / Switzerland         mobile +41 79 508 4701

 

 

 

 

 

 

 

 

Subscribe (FEED) Subscribe (DIGEST) Subscribe (INDEX) Unsubscribe Mail to Listmaster