Michel,
Maybe I'm misunderstanding, but I don't see why you can't use a lockable memo, instead of a file on your server.
>On every hit, we verify if a new stylesheet has to be generated. This may be because we have updated the base stylesheet or if the user has changed browser since the last hit. If that occurs, we run into the loop as per the main message of this thread. That's why.