[Catalyst] Browser window/tab independent sessions

Bernhard Graf catalyst2 at augensalat.de
Fri Jan 5 23:35:48 GMT 2007


Perrin Harkins wrote:

> On Fri, 2007-01-05 at 20:44 +0000, Ian Docherty wrote:
> > Does anyone try to keep different state information in different
> > browser windows/tabs?
>
> Back in the old days, when we used to make websites with our stone
> knives and bear skins, we used to keep state information in hidden
> form fields and query strings.  These techniques have none of the
> "global state" problems that cookies do.
>
> Putting things that are specific to a window/tab in a cookie-based
> session is a pet peeve of mine actually, since it can break things so
> spectacularly.  If you check, you'll see that all of the major web
> sites like Yahoo and Amazon are careful to avoid this kind of issue
> (multiple tabs don't interfere with each other) and they generally
> seem to use the old-school techniques.

Check out Apache::Session::Counted.

HTH
-- 
Bernhard Graf



More information about the Catalyst mailing list