From cassandra-user-return-603-apmail-incubator-cassandra-user-archive=incubator.apache.org@incubator.apache.org Tue Sep 15 21:05:21 2009 Return-Path: Delivered-To: apmail-incubator-cassandra-user-archive@minotaur.apache.org Received: (qmail 63818 invoked from network); 15 Sep 2009 21:05:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 15 Sep 2009 21:05:21 -0000 Received: (qmail 72178 invoked by uid 500); 15 Sep 2009 21:05:20 -0000 Delivered-To: apmail-incubator-cassandra-user-archive@incubator.apache.org Received: (qmail 72126 invoked by uid 500); 15 Sep 2009 21:05:20 -0000 Mailing-List: contact cassandra-user-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: cassandra-user@incubator.apache.org Delivered-To: mailing list cassandra-user@incubator.apache.org Received: (qmail 72117 invoked by uid 99); 15 Sep 2009 21:05:20 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Sep 2009 21:05:20 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of markxr@gmail.com designates 209.85.218.210 as permitted sender) Received: from [209.85.218.210] (HELO mail-bw0-f210.google.com) (209.85.218.210) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Sep 2009 21:05:11 +0000 Received: by bwz6 with SMTP id 6so3019225bwz.12 for ; Tue, 15 Sep 2009 14:04:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=/0Ow+tiddBawY24wp/u+O4ebY9TBxdG4WyjYK2sAtYg=; b=nz9I3+G1AINmp1mKHP89AU47/7myaQ1dfD1lDXav6+yqB0ZOZEko6FJwFVPnEWPRan PxGAvZOHNs3SXcFCEazu48/e2JG8h5twLmYUv/rq8yU/tAx19CCdwOXE5ClduROBNfuJ 0cLuM2lorEyb5YBi6kzIFuccDOps5/DqC0nSo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=A0wZJYvMHtFpWU8tRzeT+YwyJrPB29m0rQV7PJuIntcMAHFYtB+fCstaSWuiGLX84U LS5HDWU5GPAT4o8EI33mqCR5fve5SbvWb9LhhgV43Th2R0gOdmEu0Lx/PDr9RZwYR/TL Qb1zKZfVuzDBeTYMkC8drkxxiu9rgqG8J+ou4= MIME-Version: 1.0 Received: by 10.204.15.6 with SMTP id i6mr6606886bka.59.1253048690774; Tue, 15 Sep 2009 14:04:50 -0700 (PDT) In-Reply-To: References: <4AAE1581.90309@boboco.ie> <7bfc6c610909141609k20f402c7o4419428916e8a642@mail.gmail.com> <7bfc6c610909141623k382b8302g1c6c9c9a8f9bfc2a@mail.gmail.com> <4AAF6CCA.3030205@boboco.ie> Date: Tue, 15 Sep 2009 22:04:50 +0100 Message-ID: Subject: Re: random n00b question From: Mark Robson To: cassandra-user@incubator.apache.org Content-Type: multipart/alternative; boundary=0003255589de1994020473a4223a X-Virus-Checked: Checked by ClamAV on apache.org --0003255589de1994020473a4223a Content-Type: text/plain; charset=ISO-8859-1 2009/9/15 Chris Goffinet > > Do you really expect a user to open up multiple tabs and start clicking > concurrently? Is the use case for bots? Remember, if you're trying to > capture a user's activity and think they might open up many windows, I > wouldn't be saving that into a session in general. > No, but what I often see is that web developers create pages with a frame set (or iframe, AJAX stuff etc) which try to share the session state on multiple simultaneous requests coming from the same browser in the same window. They then race to update the session; sometimes this works, sometimes it doesn't. The session locks avoid this. I'm not sure whether they are a good idea in general. Mark --0003255589de1994020473a4223a Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable

2009/9/15 Chris Goffinet <goffinet@digg.com>

Do you really expect a user to open up multiple ta= bs and start clicking concurrently? Is the use case for bots? Remember, if = you're trying to capture a user's activity and think they might ope= n up many windows, I wouldn't be saving that into a session in general.= =A0

No, but what I often see is that web developers= create pages with a frame set (or iframe, AJAX stuff etc) which try to sha= re the session state on multiple simultaneous requests coming from the same= browser in the same window. They then race to update the session; sometime= s this works, sometimes it doesn't.

The session locks avoid this. I'm not sure whether they are a good = idea in general.

Mark

--0003255589de1994020473a4223a--