Page 1 of 1

how to control simultaneous sessions

Posted: Wed Jan 06, 2010 9:32 am
by mudasir
Hi,

I am looking for a piece of code that can limit HTTP simultaneous sessions. Like when we download something with "Internet Download Manager" it creates multiple sessions to download the file, I would like to now how can we limit those multiple session to single session.

I had a script which did this but few days back my HDD crashed and i lost all the data, now i am unable to find that script on internet.

Looking forward for a quick reply.

Re: how to control simultaneous sessions

Posted: Wed Jan 06, 2010 10:53 am
by pickle
That sounds like something you could do by configuring Apache.

Re: how to control simultaneous sessions

Posted: Wed Jan 06, 2010 2:10 pm
by mudasir
Hi,

Thanks allot for replying, i am using FreeNAS, and it has a builtin Lighthttpd server, thats why i was asking how to do this with PHP.

I know that it is possibile because i had a script, it was a directory browsing script which limited simultaneous session to single session.

I know how to limit bandwidth with Apache, but not with PHP.