Forum Moderators: phranque

Message Too Old, No Replies

Limit Protected Directory to One user at a time

...to avoid administration mix-ups

         

Josefu

10:31 am on Aug 26, 2008 (gmt 0)

10+ Year Member



Hello - I've recently had situations where to administrators were modifying a website catalogue at the same time, with disasterous results.

I could set up a 'session detector' in the administration page in question through php, but I think using the Apache's native 'directory' functions would be simpler - but I can't seem to find any directive to limit active connections to just one user at a time. Am I overlooking something?

Thanks in advance for any advice.

jdMorgan

5:53 pm on Aug 26, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Apache has no innate knowledge of any HTTP request which happened before the one it is handling now. So it is not at all "seesion aware."

Your solution of modifying the admin script is the correct one.

Jim