Haven't had enough time for my previous reply to make it back to me so I could
reply to it....
If using SQL, you might be able to do row or table locking to get around any
race conditions.
"Rob Bloodgood" <[EMAIL PROTECTED]> wrote:
>> A really simple trick would be rather than to use a cookie, if
>> you are saving state to DB anyway. Set a flag in the DB and test
>> for its existence.
>>
>> sub handler{
>> ....
>> my $s = session->new();
>> $s->continue();
>>
>> my $flag = $s->get('flag');
>> if($flag){
>> # do something else
>> }
>> else{
>> # run insert for new signup
>> }
>> ....
>> }
--
James Smith <[EMAIL PROTECTED]>, 979-862-3725
Texas A&M CIS Operating Systems Group, Unix