comp.lang.ada
 help / color / mirror / Atom feed
From: Simon Wright <simon@pushface.org>
Subject: Re: Annoucing memcache-ada 0.1
Date: Mon, 17 Jan 2011 19:57:47 +0000
Date: 2011-01-17T19:57:47+00:00	[thread overview]
Message-ID: <m262tnmhfo.fsf@pushface.org> (raw)
In-Reply-To: op.vpf86sjbule2fv@garhos

"Yannick Duchêne (Hibou57)" <yannick_duchene@yahoo.fr> writes:

> Le Mon, 17 Jan 2011 11:40:12 +0100, Simon Wright <simon@pushface.org>
> a écrit:
>> Using AJAX, there is certainly state within one page... but even
>> excluding that, there clearly _is_ per-session state on the server; of
>> course, the browser has to identify the session concerned before the
>> server can know where to continue from.
>
> I see your point, you are right too. I lacked some precision: this
> depends on the involved functionality. If you are serving pages whose
> access  requires some right (like browsing a private forum), then it
> just requires  a cession state, and the server is able to hold it. On
> the other hand,  richer web applications (the ones I was implicitly
> referring too),  requires a state stored in the page, or at least a
> reference to a state  for that page. If the user hit the Back button,
> any request made from that  page will have to send the state
> associated with that previous page.  Imagine a user clicking a Submit
> button in a page retrieved from the  browser cache he/she reached
> after hitting Back in the browser; then  imagine he/she already click
> this button before he came back to it (this  is a typical case of
> error if the server handles the second request with  the sate
> associated to the last requested page).

Yes, this is a real problem with AJAX applications; you press Back and
end up in something you'd forgotten about half an hour ago. And Forward
will not recover.



  reply	other threads:[~2011-01-17 19:57 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-16 20:52 Annoucing memcache-ada 0.1 R. Tyler Croy
2011-01-16 22:09 ` Maciej Sobczak
2011-01-16 22:41   ` Yannick Duchêne (Hibou57)
2011-01-16 22:44     ` Yannick Duchêne (Hibou57)
2011-01-17 10:40     ` Simon Wright
2011-01-17 11:07       ` Yannick Duchêne (Hibou57)
2011-01-17 19:57         ` Simon Wright [this message]
2011-01-17 12:13       ` Georg Bauhaus
2011-01-17 19:59         ` Simon Wright
2011-01-17 10:50     ` pascal.obry
2011-01-17 10:57       ` Yannick Duchêne (Hibou57)
2011-01-17 11:02         ` pascal.obry
2011-01-17 11:14           ` Yannick Duchêne (Hibou57)
2011-01-17 12:49             ` pascal.obry
2011-01-16 23:09   ` R. Tyler Croy
2011-01-16 23:47   ` Georg Bauhaus
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox