From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,e7151167e0767ecc X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news2.google.com!proxad.net!news.cs.univ-paris8.fr!informatik.uni-bremen.de!cs.tu-berlin.de!uni-duisburg.de!not-for-mail From: Georg Bauhaus Newsgroups: comp.lang.ada Subject: Re: State Threads Date: Tue, 7 Sep 2004 09:16:01 +0000 (UTC) Organization: GMUGHDU Message-ID: References: <8429999a.0408231027.2850e800@posting.google.com> <4135498c_1@news.tm.net.my> <5ad0dd8a.0409040738.3fff41b8@posting.google.com> <5ad0dd8a.0409060515.4b17e2ed@posting.google.com> <5ad0dd8a.0409070001.7ef611b3@posting.google.com> NNTP-Posting-Host: l1-hrz.uni-duisburg.de X-Trace: a1-hrz.uni-duisburg.de 1094548561 28324 134.91.1.34 (7 Sep 2004 09:16:01 GMT) X-Complaints-To: usenet@news.uni-duisburg.de NNTP-Posting-Date: Tue, 7 Sep 2004 09:16:01 +0000 (UTC) User-Agent: tin/1.5.8-20010221 ("Blue Water") (UNIX) (HP-UX/B.11.00 (9000/800)) Xref: g2news1.google.com comp.lang.ada:3424 Date: 2004-09-07T09:16:01+00:00 List-Id: Wojtek Narczynski wrote: : Georg Bauhaus wrote in message news:... : :> If a user at a client computer decides to open another view of :> some page in a web based application (a tab, a window), would that lead :> to the creation of another thread? If not, can thread data safely be used :> to react to input from either view? : : Please read this introductory paper: : http://state-threads.sourceforge.net/docs/st.html I have, and I think it doesn't address the question. I'm not saying it has to, but the mechanism seems as incomplete for Web based applications as many others. (Maybe I haven't read with enough attention, though.) For example, HTTP is essentially stateless. Some port receives the input sequence i1, i2, then i1 _again_. Let ik stand for some Web form. i1 has triggered a state change in the server's store. This state change might affect the server's reaction to i2 arriving. ("Go this way if i1 has been X, that way if i1 has been Y"). Now i1 arrives again (user has pressed some back navigation button say). Only this time i1 carries slightly different data. Again, this should affect the server's reaction to a possible i2. Now the previous rule setting (based on previous i1) for reacting to i2 is outdated, unless the server updates all affected storage in the server. What if i2 arrives another time now? -- Georg