how to control simultaneous sessions

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
mudasir
Forum Newbie
Posts: 8
Joined: Wed Dec 30, 2009 5:07 pm

how to control simultaneous sessions

Post 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.
User avatar
pickle
Briney Mod
Posts: 6445
Joined: Mon Jan 19, 2004 6:11 pm
Location: 53.01N x 112.48W
Contact:

Re: how to control simultaneous sessions

Post by pickle »

That sounds like something you could do by configuring Apache.
Real programmers don't comment their code. If it was hard to write, it should be hard to understand.
mudasir
Forum Newbie
Posts: 8
Joined: Wed Dec 30, 2009 5:07 pm

Re: how to control simultaneous sessions

Post 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.
Post Reply