At 09:26 PM 6/25/2001 +0200, F. GEIGER wrote:
>How can I prevent race conditions in UserKit? I guess I should lock
>initNextSerialNum() in UserManagerToFile.py somehow. Otherwise two users
>logging in at the same time could get the same serial number, or don't they?
>Is this handled already by the AppServers?

No, you are correct. This is a flaw in UserKit and I think your suggestion 
is a good one.


>What if I do not use the UserKit but MiddleKit to handle "my own users"
>residing in an MySQL database?

I made some improvements in concurrent reading of MK objects, but I still 
feel there are concurrency issues in MK. I haven't totally wrapped my brain 
around them, but I'm very interested in them as I have 2 major MK projects.


>P.S.:
>I use Webware 0.5.1 rc#3 (BTW: When will 0.5.1 be released?) on an NT4.0 box
>(IIS4) running MySQL.

0.5.1 will be released very soon. There is nothing holding it up except my 
schedule.

However, I think there are enough MK improvs in the main branch that if you 
are a serious MK user, you should really go for using Webware CVS. I think 
the current CVS is stable.


-Chuck


_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/webware-discuss

Reply via email to