Re: Table/row locking with Apache::Session::Mysql /Apache::Session::Flex

2003-02-26 Thread Perrin Harkins
md wrote: --- md <[EMAIL PROTECTED]> wrote: Is it possible to have row-level locking (as opposed to table-level or null locker) with MySQL 4.x and Apache::Session? You effectively have that already, since the MySQL locker only locks an individual session. Check the code. Looks like I get that wi

Re: Table/row locking with Apache::Session::Mysql /Apache::Session::Flex

2003-02-26 Thread md
--- md <[EMAIL PROTECTED]> wrote: > Is it possible to have row-level locking (as opposed > to table-level or null locker) with MySQL 4.x and > Apache::Session? Looks like I get that with InnoDB automatically... __ Do you Yahoo!? Yahoo! Tax Center

Re: Table/row locking with Apache::Session::Mysql /Apache::Session::Flex

2003-02-26 Thread md
--- Perrin Harkins <[EMAIL PROTECTED]> wrote: > If you look at the actual contents of > Apache::Session::MySQL, you'll see > that it's essentially just a config file. There's > no need to be > concerned about using Flex, but you could easilly > code up your own > Apache::Session::MySQLNoLock

Re: Table/row locking with Apache::Session::Mysql /Apache::Session::Flex

2003-02-25 Thread md
--- Perrin Harkins <[EMAIL PROTECTED]> wrote: > It would be. Frankly, there is no value to the kind > of mutual exclusion > that the Apache::Session locking provides in a > typical web application. > If you use the null locker you will still get > atomic updates, but you > will have the pos

Re: Table/row locking with Apache::Session::Mysql /Apache::Session::Flex

2003-02-25 Thread Perrin Harkins
ts of data like the user's ID or some form data that from a multi-page form that hasn't been committed yet. I'm looking at Apache::Session::Flex and setting "Lock=>'Null'"...however, I get the impression from an old email (see below) that Flex is for debugging

Re: Table/row locking with Apache::Session::Mysql /Apache::Session::Flex

2003-02-25 Thread Cory 'G' Watson
ows a stalled query on the sessions table. I ended up dropping it for Apache::Session::File. I'm looking at Apache::Session::Flex and setting "Lock=>'Null'"...however, I get the impression from an old email (see below) that Flex is for debugging only. I've not seen t

Table/row locking with Apache::Session::Mysql /Apache::Session::Flex

2003-02-25 Thread md
ion::MySQL. I'm looking at Apache::Session::Flex and setting "Lock=>'Null'"...however, I get the impression from an old email (see below) that Flex is for debugging only. First, any benchmarks on what kind of load I can realistically use with Apache::Session::MySQL? Is

Apache::Session::Flex

2001-05-04 Thread Tatsuhiko Miyagawa
Hi, Apache::Session::Flex doesn't work well when restoring object with existing session id. It is because Apache::Session tries to call A::S::Generate::* (currently MD5 only) class's validate() method which Apache::Session::Flex doesn't set. Patch below fixes this. --- Flex.pm.