[freeside-devel] Fwd: Re: Error in cust_main.cgi

ivan ivan at 420.am
Wed Feb 13 18:00:00 PST 2002


On Wed, Feb 13, 2002 at 04:03:55PM -0600, Donald Greer wrote:
> ivan wrote:
>
> > The only other concern I'd have would be on concurrent access; the "temp1"
> > tables would need to be constructed of a unique identifier.  Something
> > unique plus the current process id should work to prevent different apache
> > instances from trampling on each other's tables.
> 
>    No.  The "TEMPORARY" takes care of that.  Each session can hace a 
> table "foo" as a TEMPORARY open at the same time.  Don't know what the 
> internal magic is, probably prepends the connection id to the table when 
> it's created and destroys it when the session is killed (or the server 
> is restart in the case of a crash).

Ah, my bad.  Very good then.

> > Thanks!
> > 
>   You're welcome.  I just hope it works! ;^)

Me too.  I hope someone patches the relevant scripts and we find out.

-- 
_ivan



More information about the freeside-devel mailing list