Re: dynamic settings through script

2009-07-01 Thread Michel Thadeu Sabchuk
Hi Tino, > Wouldn't it be easier to create a 'lock-file'? Have your middelware check > for the lock file, if it's present, block access, if not, do nothing. You are right, a lock file is easier, thanks for pointing me at that. Anyway, I want to use the settings file instead of a lock file, supp

Re: dynamic settings through script

2009-07-01 Thread TiNo
Wouldn't it be easier to create a 'lock-file'? Have your middelware check for the lock file, if it's present, block access, if not, do nothing. This is at least how some programs do their locks (Adobe Creative suite for example) and quite easy to implement. Tino On Wed, Jul 1, 2009 at 16:34, Mic

dynamic settings through script

2009-07-01 Thread Michel Thadeu Sabchuk
Hi guys, I need to block access to my site during a time period, when a script is running and do some calculations. I want to avoid user interaction during this calculations, this is why I want to block access to the site when the script starts and liberate when the script ends. First of all, I